MYSQL - POMOC!!!!!!!!!!!!!
mam linux Debian 3.1 Sarge pouzival som databazu Mysql 5 lenze tuto som odstranil a hodil som si tam Mysql 4.0.24 /mysql-server, mysql-client, mysql-common...../ instalacia prebehla v poriadku az po prikaz "/etc/init.d/mysql start" potom mi nabehne hlaska:
"Starting MySQL database server: mysqld...failed.
Please take a look at the syslog.
/usr/bin/mysqladmin: connect to server at 'localhost' failed
error: 'Can't connect to local MySQL server through socket '/var/run/mysqld/mysqld.sock' (2)'
Check that mysqld is running and that the socket: '/var/run/mysqld/mysqld.sock' exists!"
Pritom v "/var/run/mysqld/mysqld.sock" ziaden nieje ani "mysql.pid" nieje v "/var/run/mysqld/" vlastne vobec nie je nikde. Chcem Vas poprosit ci mi neviete nejako pomoct s outo hlaskou? Velmi pekne dakujem.
Pre pridávanie komentárov sa musíte prihlásiť.
K DB sa potom prihlasis ako root takto:
server:/usr/bin# mysqladmin -u root password 'heslo'
mysqladmin: unable to change password; error: 'You must have privileges to update tables in the mysql database to be able to change passwords for others'
Ak nepomoze .. odzalohuj /var/lib/mysql/* , odinstaluj MySQL 4* a nainstaluj znova ..pridaj si uz len databazy, ktore potrebujes, nie mysql*