Hi,
My problem is as follows
I am a new user Parallel pleski. Please help how do I get the panel to work.
Sry my bad english.
I've tried the following things
/tmp/plesk_11.5.30_reset_instance_data.log LOG
/var/log/mysql is empty
/etc/mysql/my.cnf
My problem is as follows
ERROR: PleskFatalException: Unable to connect to database: mysql_connect(): No such file or directory (auth.php:142)
I am a new user Parallel pleski. Please help how do I get the panel to work.
Sry my bad english.
I've tried the following things
and# /etc/init.d/mysql start
[FAIL] Starting MySQL database server: mysqld . . . . . . . . . . . . . . failed!
and# mysql
ERROR 2002 (HY000): Can't connect to local MySQL server through socket '/var/run/mysqld/mysqld.sock' (2)
ning sellega ei saa mingit vastust# ls -l /var/run/ | grep mysqld
drwxr-xr-x 2 mysql root 40 Feb 15 06:29 mysqld
and# ls -l | grep mysql
and# ps -ef |grep mysql
root 23242 16722 0 06:38 pts/0 00:00:00 grep mysql
# apt-get install mysql-server
Reading package lists... Done
Building dependency tree
Reading state information... Done
mysql-server is already the newest version.
The following packages were automatically installed and are no longer required:
libidn11:i386 libssh2-1:i386
Use 'apt-get autoremove' to remove them.
0 upgraded, 0 newly installed, 0 to remove and 3 not upgraded.
/tmp/plesk_11.5.30_reset_instance_data.log LOG
START Doing reset_instance_data --psa-init AT Fri Feb 14 17:12:46 EET 2014
Trying to start service mysql... /usr/sbin/mysqld is stopped
Starting MySQL database server: mysqld . . . . . . . . . . . . . . failed!
invoke-rc.d: initscript mysql, action "start" failed.
WARNING!
Some problems are found during start(see log file: /tmp/plesk_11.5.30_reset_instance_data.log)
Continue...
Trying to establish test connection... ERROR 2002 (HY000): Can't connect to local MySQL server through socket '/var/run/mysqld/mysqld.sock' (2)
ERROR 2002 (HY000): Can't connect to local MySQL server through socket '/var/run/mysqld/mysqld.sock' (2)
[...]
ERROR 2002 (HY000): Can't connect to local MySQL server through socket '/var/run/mysqld/mysqld.sock' (2)
failed
ERROR while trying to establish test connection
Check the error reason(see log file: /tmp/plesk_11.5.30_reset_instance_data.log), fix and try again
START Doing reset_instance_data --psa-init AT Sat Feb 15 06:47:06 EET 2014
Trying to start service mysql... /usr/sbin/mysqld is stopped
Starting MySQL database server: mysqld . . . . . . . . . . . . . . failed!
invoke-rc.d: initscript mysql, action "start" failed.
WARNING!
Some problems are found during start(see log file: /tmp/plesk_11.5.30_reset_instance_data.log)
Continue...
Trying to establish test connection... ERROR 2002 (HY000): Can't connect to local MySQL server through socket '/var/run/mysqld/mysqld.sock' (2)
ERROR 2002 (HY000): Can't connect to local MySQL server through socket '/var/run/mysqld/mysqld.sock' (2)
[...]
ERROR 2002 (HY000): Can't connect to local MySQL server through socket '/var/run/mysqld/mysqld.sock' (2)
ERROR 2002 (HY000): Can't connect to local MySQL server through socket '/var/run/mysqld/mysqld.sock' (2)
failed
ERROR while trying to establish test connection
Check the error reason(see log file: /tmp/plesk_11.5.30_reset_instance_data.log), fix and try again
/var/log/mysql is empty
/etc/mysql/my.cnf
[client]
port = 3306
socket = /var/run/mysqld/mysqld.sock
[mysqld_safe]
socket = /var/run/mysqld/mysqld.sock
nice = 0
[mysqld]
local-infile=0
user = mysql
pid-file = /var/run/mysqld/mysqld.pid
socket = /var/run/mysqld/mysqld.sock
port = 3306
basedir = /usr
datadir = /var/lib/mysql
tmpdir = /tmp
lc-messages-dir = /usr/share/mysql
skip-external-locking
set-variable=max_connections=200
key_buffer = 16M
ft_min_word = 3
max_allowed_packet = 20M
thread_stack = 192K
thread_cache_size = 8
myisam-recover = BACKUP
query_cache_limit = 1M
query_cache_size = 20M
expire_logs_days = 10
max_binlog_size = 100M
[mysqldump]
quick
quote-names
max_allowed_packet = 16M
[mysql]
[isamchk]
key_buffer = 16M
!includedir /etc/mysql/conf.d/
Last edited: