First quesion:
I just downloaded the latest version of Xampp (version 1.2). I've installed it on a PC running Win XP Pro.
The Apache server seems to work, since I'm able to see the welcome page. I can also run simple php scripts, a prove the server is indeed working fine.
For MySql, however, I do have a problem when I change the datadir to another then the default location.
When I run 'mysql_start.bat' with an unmodified datadir in the my.ini file (I've renamed it and put it in the Windows directory), then I have the mysql service running and I can submit mysql commands.
So, these settings are working:
basedir = D:/WinApps/WebTools/xampp/mysql
datadir = D:/WinApps/WebTools/xampp/mysql/data
When I give another datadir, however, the server only runs for max. 1 second and 'dies' again. Then I have the following settings for my directories:
basedir = D:/WinApps/WebTools/xampp/mysql
datadir = E:/_Data/MySql
This doesn't work...
Anyone any idea?
I just want this datadir, because I have databases located in this directory from a previous mysql installation.
Second question:
In stead of messing around with the batch files, why not simply using the winmysqladmin.exe program? It's part of the package. I used it before with my previous MySql installations and it worked fine. I'm using it now again and that saves me quite a bit of clicks. Is there any good reason to use the batch files instead?
Thanks in advance for any useful answer.
Rgds,
Geert