• Mysql cannot start

  • Tell error you get when using VPSSIM & Other members help fix it

Tell error you get when using VPSSIM & Other members help fix it
 #2879  by denbei
 19 Oct 2018 14:40
:( Hello,
I just installed vpssim on new vps, but I got an error message.
Mysql cannot start
Code: Select all
=========================================================================
1) Restart MySQL
2) Restart Nginx
3) Restart PHP-FPM
4) Restart Server
Type in your choice (0-Exit):1
/etc/vpssim/menu/tienich/vpssim-restart-mysql: line 9: mysql: command not found
========================================================================
MySQL service is not running
------------------------------------------------------------------------
VPSSIM trying to start it
------------------------------------------------------------------------
Please wait ...
chown: invalid user: `mysql:mysql'
chown: invalid user: `mysql:mysql'
chown: invalid user: `mysql:mysql'
/etc/vpssim/menu/inc/restart-mysql-fix-error: line 22: /etc/init.d/mysql: No such file or directory
/etc/vpssim/menu/inc/restart-mysql-fix-error: line 29: /etc/init.d/mysql: No such file or directory
/etc/vpssim/menu/inc/restart-mysql-fix-error: line 34: /etc/init.d/mysql: No such file or directory
/etc/vpssim/menu/inc/restart-mysql-fix-error: line 39: /etc/init.d/mysql: No such file or directory
/etc/vpssim/menu/inc/restart-mysql-fix-error: line 44: /etc/init.d/mysql: No such file or directory
========================================================================
Check MySQL service once again !
------------------------------------------------------------------------
please wait ...
/etc/vpssim/menu/tienich/vpssim-restart-mysql: line 31: mysql: command not found
========================================================================
VPSSIM can not start MySQL Service
=========================================================================
Sorry, VPSSIM can not start MySQL service
Please help me,
nguyenoanh liked this
Get 25 USD Free To USE VPSSIM
 #2881  by nguyenoanh
 19 Oct 2018 14:43
denbei wrote:
19 Oct 2018 14:40
:( Hello,
I just installed vpssim on new vps, but I got an error message.
Mysql cannot start
Code: Select all
=========================================================================
1) Restart MySQL
2) Restart Nginx
3) Restart PHP-FPM
4) Restart Server
Type in your choice (0-Exit):1
/etc/vpssim/menu/tienich/vpssim-restart-mysql: line 9: mysql: command not found
========================================================================
MySQL service is not running
------------------------------------------------------------------------
VPSSIM trying to start it
------------------------------------------------------------------------
Please wait ...
chown: invalid user: `mysql:mysql'
chown: invalid user: `mysql:mysql'
chown: invalid user: `mysql:mysql'
/etc/vpssim/menu/inc/restart-mysql-fix-error: line 22: /etc/init.d/mysql: No such file or directory
/etc/vpssim/menu/inc/restart-mysql-fix-error: line 29: /etc/init.d/mysql: No such file or directory
/etc/vpssim/menu/inc/restart-mysql-fix-error: line 34: /etc/init.d/mysql: No such file or directory
/etc/vpssim/menu/inc/restart-mysql-fix-error: line 39: /etc/init.d/mysql: No such file or directory
/etc/vpssim/menu/inc/restart-mysql-fix-error: line 44: /etc/init.d/mysql: No such file or directory
========================================================================
Check MySQL service once again !
------------------------------------------------------------------------
please wait ...
/etc/vpssim/menu/tienich/vpssim-restart-mysql: line 31: mysql: command not found
========================================================================
VPSSIM can not start MySQL Service
=========================================================================
Sorry, VPSSIM can not start MySQL service
Please help me,
Hello, i will check this.
thanks.
 #57351  by joecow
 22 Apr 2020 08:39
giaotk wrote:Mình làm theo cách cài lại MariaDB và đã thành công :
Code: Select all
yum install mariadb mariadb-server
Code: Select all
systemctl start mariadb.service
Code: Select all
systemctl enable mariadb.service
Code: Select all
/usr/bin/mysql_secure_installation
i cannot solve mysql not running, always reinstall server.
Get 25 USD Free To USE VPSSIM