Configuring MySQL Windows client default folder script

Disabling MySQL client on Windows, how to install it to a specific Windows folder so that the file in the SOURCE statement does not include the path?

0


source to share


2 answers


A partial workaround that I have used is to change the data directory so that it is not buried so deeply (i.e. D: \ MySQL_Data). This makes it much easier to enter the path.

Documentation: http://dev.mysql.com/doc/refman/5.1/en/server-options.html#option_mysqld_datadir



The downside is that all of your data files will now have to live here. I'm also curious to see if anyone has a more elegant solution.

+1


source


I would recommend creating a link (shortcut) for the client and define the working directory (source directory) to that desired folder. I did this and it worked great.



0


source







All Articles