Apr 26 10:00:00 laptap mysqld[15731]: InnoDB: the directory.
Apr 26 10:00:00 laptap mysqld[15731]: InnoDB: File name ./ibdata1
Apr 26 10:00:00 laptap mysqld[15731]: InnoDB: File operation call: 'open'.
Apr 26 10:00:00 laptap mysqld[15731]: InnoDB: Cannot continue operation.
Apr 26 10:00:00 laptap mysqld_safe[15739]: ended
Apr 26 10:00:15 laptap /etc/init.d/mysql[15890]: 0 processes alive and '/usr/bin/mysqladmin --defaults-file=/etc/mysql/debian.cnf ping' resulted in
Apr 26 10:00:15 laptap /etc/init.d/mysql[15890]: ^G/usr/bin/mysqladmin: connect to server at 'localhost' failed
Apr 26 10:00:15 laptap /etc/init.d/mysql[15890]: error: 'Can't connect to local MySQL server through socket '/var/run/mysqld/mysqld.sock' (2)'
Apr 26 10:00:15 laptap /etc/init.d/mysql[15890]: Check that mysqld is running and that the socket: '/var/run/mysqld/mysqld.sock' exists!
Apr 26 10:00:15 laptap /etc/init.d/mysql[15890]:
Packages installed:
un mysql-client <wala> (walang paglalarawan)
ii mysql-client-5.0 5.0.51a-3ubuntu5 MySQL database client binaries
ii mysql-common 5.0.51a-3ubuntu5 MySQL database common files
ii mysql-server 5.0.51a-3ubuntu5 MySQL database server (meta package depending on the latest version)
ii mysql-server-5.0 5.0.51a-3ubuntu5 MySQL database server binaries
I installed mysql just a few minutes ago. This same bug still exists. How do we fix this?
Apr 26 10:00:00 laptap kernel: [ 6026.254152] audit(120917520 0.933:26) : type=1503 operation= "inode_ permission" requested_ mask="rw: :" denied_mask="rw::" name="/ home/mysql/ ibdata1" pid=15730 profile= "/usr/sbin/ mysqld" namespace="default"
daemon logs:
Apr 26 10:00:00 laptap mysqld[15731]: InnoDB: the directory. d/mysql[ 15890]: 0 processes alive and '/usr/bin/ mysqladmin --defaults- file=/etc/ mysql/debian. cnf ping' resulted in d/mysql[ 15890]: ^G/usr/ bin/mysqladmin: connect to server at 'localhost' failed d/mysql[ 15890]: error: 'Can't connect to local MySQL server through socket '/var/run/ mysqld/ mysqld. sock' (2)' d/mysql[ 15890]: Check that mysqld is running and that the socket: '/var/run/ mysqld/ mysqld. sock' exists! d/mysql[ 15890]:
Apr 26 10:00:00 laptap mysqld[15731]: InnoDB: File name ./ibdata1
Apr 26 10:00:00 laptap mysqld[15731]: InnoDB: File operation call: 'open'.
Apr 26 10:00:00 laptap mysqld[15731]: InnoDB: Cannot continue operation.
Apr 26 10:00:00 laptap mysqld_safe[15739]: ended
Apr 26 10:00:15 laptap /etc/init.
Apr 26 10:00:15 laptap /etc/init.
Apr 26 10:00:15 laptap /etc/init.
Apr 26 10:00:15 laptap /etc/init.
Apr 26 10:00:15 laptap /etc/init.
Packages installed:
un mysql-client <wala> (walang paglalarawan)
ii mysql-client-5.0 5.0.51a-3ubuntu5 MySQL database client binaries
ii mysql-common 5.0.51a-3ubuntu5 MySQL database common files
ii mysql-server 5.0.51a-3ubuntu5 MySQL database server (meta package depending on the latest version)
ii mysql-server-5.0 5.0.51a-3ubuntu5 MySQL database server binaries