Mikkel Gravgaard schrieb am Mittwoch, 22. August 2001, 11:16:47:
> Since I like my hard drive more tidy than my house, I've put MySQL in
> C:\Program Files\MySQL.
> This means that I currently have to start MySQL using a .bat file, since the
> mysql-daemon won't find the MySQL-directory if I install it as a Service:
> --- MySQL.bat ---
> cd C:\Program Files\MySQL\bin
> mysqld --basedir="C:\Program Files\MySQL"
> ------
> The .bat file is put in the Startup-folder, but this means that when Win2k
> Professional has booted, I end up with a command-window on my desktop, which I'll
> have to manually close.
> Can anyone think of a bit more smooth way to get it all going?
Excerpt from my Readme:
- This version is configured to be installed in c:\mysql. You can however
copy this anywhere as long as you don't change the directory structure.
For example:
mkdir d:\mysql
xcopy c:\mysql\*.* d:\mysql
mysqld should be able to automaticly find its files based on where
mysqld is located. If you want to use files from some other place, you
can tell mysqld to use some other directory with --basedir='path'.
You can also create a c:\\my.cnf file that holds any default options for
the MySQL server.
- If you have problems installing mysqld as a service, try starting mysqld
with the full path: 'C:\mysql\bin\mysqld --install'.
If this doesn't work, you can get mysqld to start properly by fixing
the path in the registry!
--
Herzlich
Werner
MySQL in Deutschland: Anpassung, Unterstützung, Schulung für Sie
__ ___ ___ ____ __
/ |/ /_ __/ __/ __ \/ / Dr. Werner Stürenburg <[EMAIL PROTECTED]>
/ /|_/ / // /\ \/ /_/ / /__ MySQL AB, Consultant
/_/ /_/\_, /___/\___\_\___/ Bielefeld, Germany
<___/ www.mysql.com +49-5224-997-407 Fax -409
---------------------------------------------------------------------
Before posting, please check:
http://www.mysql.com/manual.php (the manual)
http://lists.mysql.com/ (the list archive)
To request this thread, e-mail <[EMAIL PROTECTED]>
To unsubscribe, e-mail <[EMAIL PROTECTED]>
Trouble unsubscribing? Try: http://lists.mysql.com/php/unsubscribe.php