Hello,
I recently switched from using MySQL 5.6 to MariaDB 10.0.38 by running the following commands:
Everything is working properly except when trying to create a new database as a user within DirectAdmin I am given the following error:
I have referenced the following support forum link:
I checked my directadmin.conf file and the settings are correct as mentioned in the link above.
I also restarted DirectAdmin and rebooted the server.
Please know that I am using the following versions:
Any help and support in remedying this situation would be greatly appreciated as my clients need to have the ability to create databases.
Regards,
Matthew
I recently switched from using MySQL 5.6 to MariaDB 10.0.38 by running the following commands:
cd /usr/local/directadmin/custombuild
./build update
./build set mariadb 10.0
./build set mysql_inst mariadb
./build mysql
./build update
./build set mariadb 10.0
./build set mysql_inst mariadb
./build mysql
Everything is working properly except when trying to create a new database as a user within DirectAdmin I am given the following error:
ERROR CREATING THE DATABASE
Unable to add user user_userexample. You have an error in your SQL syntax; check the manual that corresponds to your MariaDB server version for the right syntax to use near 'IF NOT EXISTS 'user_userexample'@'localhost' IDENTIFIED BY 'Password'' at line 1
Unable to add user user_userexample. You have an error in your SQL syntax; check the manual that corresponds to your MariaDB server version for the right syntax to use near 'IF NOT EXISTS 'user_userexample'@'localhost' IDENTIFIED BY 'Password'' at line 1
I have referenced the following support forum link:
I checked my directadmin.conf file and the settings are correct as mentioned in the link above.
mysql_use_new_user_methods=1
I also restarted DirectAdmin and rebooted the server.
Please know that I am using the following versions:
CentOS 7 (64-bit)
DirectAdmin 1.57.1
DirectAdmin 1.57.1
Any help and support in remedying this situation would be greatly appreciated as my clients need to have the ability to create databases.
Regards,
Matthew