mysql
Inviato: dom 10 lug 2005, 5:37
ciao, urgentemente un programma chiede x completare l'installazione un server database, cosi ho installato e attivato da mysql_install_db
ma nn vuole partire...nn capisco come mai??root@slacky:/home/vanescar# cd /var/lib/mysql/
root@slacky:/var/lib/mysql# mysql_install_db
Preparing db table
Preparing host table
Preparing user table
Preparing func table
Preparing tables_priv table
Preparing columns_priv table
Installing all prepared tables
050705 13:32:28 /usr/libexec/mysqld: Shutdown Complete
To start mysqld at boot time you have to copy support-files/mysql.server
to the right place for your system
PLEASE REMEMBER TO SET A PASSWORD FOR THE MySQL root USER !
To do so, start the server, then issue the following commands:
/usr/bin/mysqladmin -u root password 'new-password'
/usr/bin/mysqladmin -u root -h slacky password 'new-password'
See the manual for more instructions.
You can start the MySQL daemon with:
cd /usr ; /usr/bin/mysqld_safe &
You can test the MySQL daemon with the benchmarks in the 'sql-bench' directory:
cd sql-bench ; perl run-all-tests
Please report any problems with the /usr/bin/mysqlbug script!
The latest information about MySQL is available on the web at
http://www.mysql.com
Support MySQL by buying support/licenses at https://order.mysql.com
se eseguo il test:root@slacky:/home/vanescar# /etc/rc.d/rc.mysqld start
root@slacky:/home/vanescar# Starting mysqld daemon with databases from /var/lib/mysql
STOPPING server from pid file /var/run/mysql/mysql.pid
050710 05:29:03 mysqld ended
come posso fare?? e se cambio database che potrei installare ?root@slacky:/home/vanescar# mysqltest
mysqltest: Failed in mysql_real_connect(): Can't connect to local MySQL server through socket '/var/run/mysql/mysql.sock' (2)