Hej.
Jeg har underligt knas med mysql.
Jeg kan ikke få lov til at lave et root-password:
clalar@linux
> mysqladmin -u root password
z
mysqladmin: connect to server at 'localhost' failed
error: 'Access denied for user 'root'@'localhost' (using password: NO)'
Jeg har udkommenteret skip networking i /etc/my.cnf
Jeg kan starte mysql, men det kan man ikke se i netstat.
linux:/home/clalar # /etc/init.d/mysql restart
Restarting service MySQL
Shutting down service mysql done
Starting service MySQL done
linux:/home/clalar # netstat -tap
Active Internet connections (servers and established)
Proto Recv-Q Send-Q Local Address Foreign Address State
PID/Program name
tcp 0 0 *:sunrpc *:* LISTEN
6828/portmap
tcp 0 0 *:ipp *:* LISTEN
7081/cupsd
tcp 0 0 localhost:smtp *:* LISTEN
7392/master
tcp 0 0 *:ssh *:* LISTEN
7205/sshd
tcp 0 0 localhost:smtp *:* LISTEN
7392/master
Jeg får lidt i /var/log/messages:
Dec 26 01:20:57 linux groupadd[7874]: group already exists - group=mysql,
by=0
Dec 26 01:20:57 linux useradd[7875]: account already exists - account=mysql,
by=0
Dec 26 01:20:57 linux usermod[7876]: default group changed - account=mysql,
uid=60, gid=103, old gid=103, by=0
Dec 26 01:20:57 linux usermod[7876]: shell changed - account=mysql, uid=60,
shell=/bin/bash, old shell=/bin/bash, by=0
Der findes ikke en /var/log/mysql.
mvh Claus