upscope wrote:
Here is the error on start of mysql. Note: there is no socket in /varrun/mysql/
[CODE] @linux-1cbj:~> mysql -u root -p Enter password: ERROR 2002 (HY000): Can't connect to local MySQL server through socket '/var/run/mysql/mysql.sock' (2 "No such file or directory") [/CODE]
Okay, that isn't necessarily the same as "mysql will not start". Maybe the socket was put somewhere else. Maybe try "mysql -h localhost -u root -p" instead.
[CODE] @linux-1cbj:~> ls -l /var/run/mysql total 8 -rw-r--r-- 1 root root 32 Oct 25 15:17 protecteddir -rw-r--r-- 1 root root 22 Oct 25 15:17 tmpdir [/CODE]
Not sure why it is running in protected mode. I did not specify it ever.
What is "protected mode" ? I don't recall ever hearing that term wrt mysql.
@linux-1cbj:~> systemctl status mysql.service mysql.service - MySQL server Loaded: loaded (/usr/lib/systemd/system/mysql.service; enabled) Active: failed (Result: exit-code) since Sat 2014-10-25 15:17:57 PDT; 3h 20min ago Process: 6400 ExecStart=/usr/lib/mysql/rcmysql start (code=exited, status=1/FAILURE)
Okay, how about posting some output from /var/log/mysql/mysqld.log ? There might also be something in /var/log/messages
FYI, I've only just now installed mariadb and started it on a 13.2 testbox. No problems whatsoever.