Page 1 of 1

How to start mysqld manually ?

PostPosted: 10. May 2011 01:38
by bluecore
Hi

I can start mysql (mysqld) through the xampp control panel, but i also wanted (for testing purpose) to be able to start it through the cmd.
But something's wrong..

if i try either
Code: Select all
C:\xampp\mysql\bin>mysqld
or
Code: Select all
C:\xampp\mysql\bin>mysqld --user=mysql
i get the following error:
110510 2:22:03 [Warning] Can't create test file \usr\local\mysql\data\compname.lo
wer-test
110510 2:22:03 [Warning] Can't create test file \usr\local\mysql\data\compname.lo
wer-test
mysqld: Can't change dir to '\usr\local\\mysql\data\' (Errcode: 2)
110510 2:22:03 [ERROR] Aborting

110510 2:22:03 [Note] mysqld: Shutdown complete


(i put the folders C:\xampp\tmp, C:\xampp\mysql and C:\windows/temp in the anti-vir exceptions list.)

So how can i start mysqld manually ?

xampp 2.5.8
win xp pro

Thanks