You are here

Xampp - mysql problem

3 posts / 0 new
Last post
foobar
Offline
Last seen: 17 years 3 months ago
Joined: 2007-03-29 15:35
Xampp - mysql problem

Hi - I don't know if anyone can help, but I have just installed XAMPP using portableapps. I installed manually as suggested, and while apachge and php work fine, when I click "Xampp start" I get a DOS box containing the message:

Please wait [Bitte warten] Could not open required defaults file: mysql\bin\my.cnf
Fatal error in defaults handling. Program aborted

The my.cnf is there... any ideas?

Cheers

LaRoza
Offline
Last seen: 16 years 9 months ago
Joined: 2007-03-30 11:37
XAMPP MySQL

Yes I can help. I had a similar problem.

1. Make sure XAMPP or XAMPPlite is in the root of the drive, mine is k:\xampplite. 2. DO NOT click on setup_xampp. 3. Start MySQL, use MySQL_start.bat. A console window comes up. 4. Open up a new Command prompt. Type in "k:\xampp\mysql\bin\mysql -u root -p", don't use quotes if you don't need to, if you do, dont't put -u root -p in them. 5. You are asked for a password, there is no password, press enter. it will welcome you and you will see "mysql>". 6. You can create passwords, users, databases and queries here. 7. ENJOY NOTE: To end mysql, use mysql_stop.bat, if you use XAMPPlite type that instead of XAMPP, and use your own drive name, I used k: here.

LaRoza
Offline
Last seen: 16 years 9 months ago
Joined: 2007-03-30 11:37
XAMPP MySQL Revisited

Do not put XAMPP or XAMPPlite in any other folder, it has to be first to be portable. IF you did use setup_xampp, you can't use it as a portable device. You will have to get a fresh copy, either by unzipping it again or by downloading another copy. Also, make sure MySQL is running before logging in.

Log in or register to post comments