Path: news.netfront.net!news.unit0.net!fu-berlin.de!uni-berlin.de!individual.net!not-for-mail
From: Fokke Nauta <usenet@solfon.nl>
Newsgroups: comp.databases.mysql
Subject: Re: How to re-activate databases
Date: Thu, 6 Jun 2019 14:55:54 +0200
Lines: 26
Message-ID: <glsgqpFi8hkU1@mid.individual.net>
References: <glpt87Fv6oU1@mid.individual.net> <qd8kg2$j4g$1@dont-email.me>
 <glqi3sF5du5U1@mid.individual.net> <glqjsfF5qidU1@mid.individual.net>
 <glrt94Fe5o0U1@mid.individual.net>
Mime-Version: 1.0
Content-Type: text/plain; charset=utf-8; format=flowed
Content-Transfer-Encoding: 7bit
X-Trace: individual.net 2n8XaIWJor6mrJlGWJ8eQwnGizX1AFA6Gn9l/bDUfH8oKuyP+K
Cancel-Lock: sha1:HO1m0Z/jeQpNSaAMh2rxhXGwoeY=
User-Agent: Mozilla/5.0 (Windows NT 10.0; WOW64; rv:60.0) Gecko/20100101
 Thunderbird/60.7.0
In-Reply-To: <glrt94Fe5o0U1@mid.individual.net>
Content-Language: nl
Xref: news.netfront.net comp.databases.mysql:3671

On 06/06/2019 09:22, J.O. Aho wrote:
> 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.
> 

You mean my.ini. That's the config file.
When I change the data path, MySQL will no longer start.
That's why I tried to do the trick with the sym link.

Fokke
