problem z mysql
Szymon 'Trasher' K
szymon w trashlandia.dyndns.org
Nie, 9 Mar 2003, 01:04:59 CET
Witaj !
[root w trashlandia root]# rpm -qa|grep mysql
php-mysql-4.2.3-9
mysql-libs-3.23.54a-1
mysql-extras-3.23.54a-1
mysql-3.23.54a-1
apache-mod_log_mysql-1.13-2
mysql-client-3.23.54a-1
świeżo po instalacji.
Daję:
[root w trashlandia mysql]# /etc/rc.d/init.d/mysql init
Creating privilege mysql tables....................................[ ZAJETY ]030309 0:55:12 /usr/sbin/mysqld: Shutdown Complete
[ ZROBIONE ]
PLEASE REMEMBER TO SET A PASSWORD FOR THE MySQL USERS!
This is done with:
/usr/bin/mysqladmin -u mysql password 'password'
/usr/bin/mysqladmin -h trashlandia -u mysql password 'password'
/usr/bin/mysqladmin -u mysql_logrotate password 'password'
NOTE: mysql_logrotate password should be placed to /etc/mysqld.conf in
mysqladmin section. See the manual for more instructions.
[root w trashlandia mysql]# /etc/rc.d/init.d/mysql start
Uruchamianie uslugi MySQL..........................................[ ZROBIONE ]
[root w trashlandia mysql]# /usr/bin/mysqladmin -u mysql password 'haselko'
[root w trashlandia mysql]# /usr/bin/mysqladmin -u mysql password 'haselko'
<usr/bin/mysqladmin -h trashlandia -u mysql password 'haselko'
/usr/bin/mysqladmin: connect to server at 'trashlandia' failed
error: 'Can't connect to MySQL server on 'trashlandia' (111)'
Check that mysqld is running on trashlandia and that the port is 3306.
You can check this by doing 'telnet trashlandia 3306'
--
Pozdrowienia,
Szymon 'Trasher' szymon @ trashlandia.dyndns.org
Więcej informacji o liście dyskusyjnej pld-users-pl