PDA

View Full Version : Can't get mysql working


Mackanz
31 May 2004, 07:28pm
Hi all,

Whenever i try to start the mysql service, i get the Error 1067: The process terminated unexpectedly
Apache is running fine, php installed but all i need is to get mysql working so that a database can be created.

Cheers!

versello
31 May 2004, 07:45pm
If you've installed mysql into a non-standard directory, you're going to manually have to edit the my.ini in c:\win.

Mine looks like:

[mysqld]
basedir=C:/www/mysql/
datadir=C:/www/mysql/data/

Mackanz
31 May 2004, 08:09pm
Ok, got it working now. I just had to delete the my.ini and reinstall mysql. Now i just need to configure it/starting a new database.

versello
31 May 2004, 09:10pm
You might want to change the default password tho. I believe the syntax at teh command prompt was like, mysql -u root password passHere

I highly reccomend you install phpMyAdmin. It makes managing MySQL as cool as dancing bananas :jelly:

When you start the binary tho, your database is already created. Just start creating tables.