Comments - Connecting to Multiple Local Directories as Datadir?

11 years, 6 months ago Richard Phillips

Clarification and Solution

This post should have been directed at connecting to an existing local database with a new install of MySQL Confusion on the understanding of the question is a result of my original question/description not being clear.

I have set up a MySql server/database on an external drive, I have moved this drive to a new computer that does not yet have MariaDB installed on it. I want to install MariaDB and connect to the Existing database files.

Solution - 1) Installed MariaDB as a service on new computer. 2) Stopped the service. 3) Copied the My.ini file from the server/database location on the external drive to the location of the new My.INI created during the install. 4) Re-started the service. And it worked.

Thank you.

 
Content reproduced on this site is the property of its respective owners, and this content is not reviewed in advance by MariaDB. The views, information and opinions expressed by this content do not necessarily represent those of MariaDB or any other party.