« -: Jan 10, 2007, 22:10 »
Не мога да си пусна mysql. Опитвам се да го пусна със mysqd_safe --user=mysql&.
Оправил съм правата на /var/lib/mysql и /var/run/mysql.
Дава следната грешка.
internal error 2002:Can't connect to local MySQL server through socket '/var/run/mysql/mysql.sock' (2)
Slackware 11
rm -rf /var/lib/mysql/*
mysql_install_db
chown -R mysql:mysql /var/lib/mysql
/etc/rc.d/rc.mysqld start
или пък mysqld_safe --user=mysql
потребител mysql e активиран, обаче mysql не тръгва.
Дава ми тази грешка в брайзера:
internal error 2002:Can't connect to local MySQL server through socket '/var/run/mysql/mysql.sock'
А това е в /var/lib/mysql/*.err
070110 22:02:20 mysqld ended
070110 22:02:21 mysqld started
InnoDB: The first specified data file ./ibdata1 did not exist:
InnoDB: a new database to be created!
070110 22:02:21 InnoDB: Setting file ./ibdata1 size to 10 MB
InnoDB: Database physically writes the file full: wait...
070110 22:02:22 InnoDB: Log file ./ib_logfile0 did not exist: new to be created
InnoDB: Setting log file ./ib_logfile0 size to 5 MB
InnoDB: Database physically writes the file full: wait...
070110 22:02:22 InnoDB: Log file ./ib_logfile1 did not exist: new to be created
InnoDB: Setting log file ./ib_logfile1 size to 5 MB
InnoDB: Database physically writes the file full: wait...
InnoDB: Doublewrite buffer not found: creating new
InnoDB: Doublewrite buffer created
InnoDB: Creating foreign key constraint system tables
InnoDB: Foreign key constraint system tables created
070110 22:02:22 InnoDB: Started; log sequence number 0 0
070110 22:02:22 [Note] /usr/libexec/mysqld: ready for connections.
Version: '5.0.24a' socket: '/tmp/mysql.sock' port: 0 Source distribution
070110 22:04:08 [Note] /usr/libexec/mysqld: Normal shutdown
070110 22:04:08 InnoDB: Starting shutdown...
070110 22:04:10 InnoDB: Shutdown completed; log sequence number 0 43655
070110 22:04:10 [Note] /usr/libexec/mysqld: Shutdown complete
070110 22:04:10 mysqld ended
070110 22:04:15 mysqld started
070110 22:04:15 InnoDB: Started; log sequence number 0 43655
070110 22:04:15 [Note] /usr/libexec/mysqld: ready for connections.
Version: '5.0.24a' socket: '/tmp/mysql.sock' port: 3306 Source distribution
============
Какво да правя?