Author Topic: Failed to start MariaDB 10.1.42 database server.  (Read 42060 times)

0 Members and 1 Guest are viewing this topic.

Offline
*
Failed to start MariaDB 10.1.42 database server.
« on: November 06, 2019, 09:08:42 AM »
Hi all


i have problem with MariaDB

on CWP ROOT Page

Code: [Select]
Warning: mysqli_connect(): (HY000/2002): No such file or directory in /usr/local/cwpsrv/htdocs/resources/admin/include/functions.php on line 0

Warning: mysqli_connect(): (HY000/2002): No such file or directory in /usr/local/cwpsrv/htdocs/resources/admin/include/functions.php on line 0

Warning: mysqli_connect(): (HY000/2002): No such file or directory in /usr/local/cwpsrv/htdocs/admin/admin/index.php on line 0

Warning: mysqli_connect(): (HY000/2002): No such file or directory in /usr/local/cwpsrv/htdocs/admin/admin/index.php on line 0


Trying to start mysql server, please wait!
Try to restart CentOS Web Panel with command: sh /scripts/restart_cwpsrv

**Check your MySQL root password in: /usr/local/cwpsrv/htdocs/resources/admin/include/db_conn.php and /root/.my.cnf


Warning: mysqli_error() expects exactly 1 parameter, 0 given in /usr/local/cwpsrv/htdocs/admin/admin/index.php on line 0
Could not connect:


when i start MariaDB on SSH

Nov 06 11:01:36 30bf.k.hostens.cloud systemd[1]: mariadb.service: main process exited, code=exited, status=1/FAILURE
Nov 06 11:01:36 30bf.k.hostens.cloud systemd[1]: Failed to start MariaDB 10.1.42 database server.

any one can help ?

Offline
*
Re: Failed to start MariaDB 10.1.42 database server.
« Reply #1 on: November 06, 2019, 12:36:21 PM »
somos 2

Offline
*
Re: Failed to start MariaDB 10.1.42 database server.
« Reply #2 on: November 06, 2019, 12:39:51 PM »

Warning: mysqli_connect(): (HY000/2002): No such file or directory in /usr/local/cwpsrv/htdocs/resources/admin/include/functions.php on line 0

Warning: mysqli_connect(): (HY000/2002): No such file or directory in /usr/local/cwpsrv/htdocs/resources/admin/include/functions.php on line 0

Warning: mysqli_connect(): (HY000/2002): No such file or directory in /usr/local/cwpsrv/htdocs/admin/admin/index.php on line 0

Warning: mysqli_connect(): (HY000/2002): No such file or directory in /usr/local/cwpsrv/htdocs/admin/admin/index.php on line 0


Trying to start mysql server, please wait!
Try to restart CentOS Web Panel with command: sh /scripts/restart_cwpsrv

**Check your MySQL root password in: /usr/local/cwpsrv/htdocs/resources/admin/include/db_conn.php and /root/.my.cnf


Warning: mysqli_error() expects exactly 1 parameter, 0 given in /usr/local/cwpsrv/htdocs/admin/admin/index.php on line 0
Could not connect:

Offline
*
Re: Failed to start MariaDB 10.1.42 database server.
« Reply #3 on: November 06, 2019, 03:22:45 PM »
anyone help us

Offline
*
Re: Failed to start MariaDB 10.1.42 database server.
« Reply #4 on: November 06, 2019, 04:47:14 PM »
HEEEEELP

Offline
*
Re: Failed to start MariaDB 10.1.42 database server.
« Reply #5 on: November 07, 2019, 01:01:23 AM »
HEEEEELP

can you search ?
this problem from mariadb (MDEV-20987) not cwp
just Downgrade or wait 10.1.43 soon

Offline
*
Re: Failed to start MariaDB 10.1.42 database server.
« Reply #6 on: November 08, 2019, 08:47:45 AM »
I found the solution

Centos

Code: [Select]
yum remove mariadb -y
Code: [Select]
wget http://mirror.yongbok.net/mariadb//mariadb-10.1.41/yum/centos7-amd64/rpms/MariaDB-10.1.37-centos73-x86_64-server.rpm
Code: [Select]
yum install MariaDB-10.1.37-centos73-x86_64-server.rpm
Code: [Select]
systemctl start mariadb
Code: [Select]
sh /usr/local/cwpsrv/htdocs/resources/scripts/mysql_pwd_reset

Code: [Select]
systemctl start mariadb

other versions

https://downloads.mariadb.org/mariadb/