Zainstalowalem ze zrodla, potem skompilowalem razem z php (opcja --with-mysql).
Probuje uruchomic, wiec najpierw:
/usr/local/bin/mysql_install_db
Odpowiedz:
Installing all prepared tables
Fill help tablesTo start mysqld at boot time you have to copy support-files/mysql.server
to the right place for your systemPLEASE REMEMBER TO SET A PASSWORD FOR THE MySQL root USER !
To do so, start the server, then issue the following commands:
/usr/local/bin/mysqladmin -u root password 'new-password'
/usr/local/bin/mysqladmin -u root -h box password 'new-password'
See the manual for more instructions.You can start the MySQL daemon with:
cd /usr/local ; /usr/local/bin/mysqld_safe &
Wiec zgodnie z instrukcja: /usr/local/bin/mysqld_safe
Ale wyglada na to ze serwer od razu sam sie wylacza (mysql ended?):
Starting mysqld daemon with databases from /usr/local/var
STOPPING server from pid file /usr/local/var/box.pid
060223 00:35:44 mysqld ended
A przy probie ustawienia hasla roota:
/usr/local/bin/mysqladmin: connect to server at 'localhost' failed
error: 'Can't connect to local MySQL server through socket '/tmp/mysql.sock' (2)'
Check that mysqld is running and that the socket: '/tmp/mysql.sock' exists!
Co robie nie tak?