Control Web Panel

WebPanel => MySQL => Topic started by: edur on November 13, 2017, 02:17:46 PM

Title: MySQL version: empty
Post by: edur on November 13, 2017, 02:17:46 PM
It is normal??

The panel doesn't show my mysql version.

(https://i.imgur.com/UIHpIzdl.jpg)

And if I go to ssh...

Code: [Select]
[root@vps****** /]# mysql -v
mysql: unknown variable 'max_user_connections=45'

Whats happen?
Title: Re: MySQL version: empty
Post by: edur on November 13, 2017, 03:24:32 PM
I fix it in:  /etc/my.conf

I had

Code: [Select]
#
# This group is read both both by the client and the server
# use it for options that affect everything
#
[client-server]

#
# include all files from the config directory
#
!includedir /etc/my.cnf.d
max_user_connections=45

I add [mysqld]

Code: [Select]
#
# This group is read both both by the client and the server
# use it for options that affect everything
#
[client-server]

#
# include all files from the config directory
#
!includedir /etc/my.cnf.d
[mysqld]
max_user_connections=45

I hope it will help someone :)

Title: Re: MySQL version: empty
Post by: rhunyady on July 11, 2018, 11:15:00 PM
thanks! this fixed my blank version!