4 messages in com.mysql.lists.bugsRe: symbolic link to network drives e...
FromSent OnAttachments
Kent Kurima26 Mar 2002 13:18 
Michael Widenius27 Mar 2002 13:52 
Miguel Angel Solorzano27 Mar 2002 16:44 
BICHOT Guilhem 17261328 Mar 2002 06:27 
Subject:Re: symbolic link to network drives error
From:BICHOT Guilhem 172613 (guil@irsn.fr)
Date:03/28/2002 06:27:18 AM
List:com.mysql.lists.bugs

Description: Solution for the symbolic link to network drives error

How-To-Repeat: See below

Fix: If you are running MySQL as a service, I think I have the solution : I use Windows 2000. I do a symlink to a network drive. When I run MySQL as a service, I have the problem you describe (ERROR 1049: Unknown database) But when I run MySQL from the console (mysqld-max-nt --standalone --console) I don't have the problem.

So this is a PERMISSION problem. See Control Panel -> Services -> "Properties of the MySQL service" : in one subwindow of this window, you have the account the service runs as : it probably says the MySQL service runs as LocalSystem. This account is local to your machine, it means it is not a DOMAIN account, hence it does not see the network drive : the network drive is open only to network accounts (i.e. domain accounts) (even when you give permission to "Everyone" on the network drive, it means "Every domain account", not more). So what you have to do is simply change the account the MySQL service should run as : give it a DOMAIN account (yours or another dedicated to MySQL). Check that this account has enough permission on your network drive. Restart the MySQL service, it should work now (it solved the problem on my computer).

Guilhem

-----Message d'origine----- De : Miguel Angel Solorzano [mailto:mig@mysql.com] Envoyé : jeudi 28 mars 2002 01:44 À : mon@mysql.com; Kent Kurima Cc : bu@lists.mysql.com Objet : Re: symbolic link to network drives error

At 23:53 27/3/2002 +0200, Michael Widenius wrote: Hi!

Kent> a plan to have this fixed?

Kent> Thanks, Kent

I don't see how this could happen, as MySQL in this case should just read the .sym file content and use this instead of the original database name.

I did a test and I didn't found any problems to use a remote mapped driver, according with the instructions in our Manual.

Regards, Miguel

Can you try to make a MySQL trace file of this ?

The manual section at:

http://www.mysql.com/doc/M/a/Making_trace_files.html

tells you everything you need to know about how to make a MySQL trace file.

Regards, Monty

To request this thread, e-mail bugs@lists.mysql.com To unsubscribe, e-mail <bugs@lists.mysql.com>

To request this thread, e-mail bugs@lists.mysql.com To unsubscribe, e-mail <bugs@lists.mysql.com>