Path: news.netfront.net!news.unit0.net!fu-berlin.de!uni-berlin.de!individual.net!not-for-mail
From: "J.O. Aho" <user@example.net>
Newsgroups: comp.databases.mysql
Subject: Re: How to re-activate databases
Date: Thu, 6 Jun 2019 09:22:20 +0200
Lines: 23
Message-ID: <glrt94Fe5o0U1@mid.individual.net>
References: <glpt87Fv6oU1@mid.individual.net> <qd8kg2$j4g$1@dont-email.me>
 <glqi3sF5du5U1@mid.individual.net> <glqjsfF5qidU1@mid.individual.net>
Mime-Version: 1.0
Content-Type: text/plain; charset=utf-8; format=flowed
Content-Transfer-Encoding: 7bit
X-Trace: individual.net OVbi8lpV16ZFpstfmbIzLwI2h29gZDFYOO4JIjKaD+7zHzkOFH
Cancel-Lock: sha1:um19rh2YiJuzjZgRqu+jNco4Mc8=
User-Agent: Mozilla/5.0 (X11; Linux x86_64; rv:60.0) Gecko/20100101
 Thunderbird/60.7.0
In-Reply-To: <glqjsfF5qidU1@mid.individual.net>
Content-Language: en-US-large
Xref: news.netfront.net comp.databases.mysql:3669

On 05/06/2019 21.35, Fokke Nauta wrote:

> I have copied all the contents of the folder E:/Files/Databases/MySQL to 
> the folder C:/ProgramData/MySQL/MySQL Server 8.0/Data.
> OK, it works.
> But due to my backup system I want all other datbases to be it the same 
> folder E:/Files/Databases/..
> The MySQL database as well. So I thought to be clever and created a 
> symbolic link from E:/Files/Databases/MySQL to 
> C:/ProgramData/MySQL/MySQL Server 8.0/Data, in order to keep the MySQL 
> database in the same folder.
> Didn't work. The MySQL service didn't want to start again with the same 
> message.
> 
> Any more tricks to make it work?

Remove the "symbolic link" and configure your my.cnf to have the correct 
path for the datadir setting.

-- 

  //Aho

