This topic is locked

Fatal error: Uncaught mysqli_sql_exception: Host ''x'' is not allowed to connect to this MariaDB

3/10/2023 6:36:32 AM
PHPRunner General questions
K
Khampol author

Hi,
I got this error on Directadmin cp :
Fatal error: Uncaught mysqli_sql_exception: Host 'xxxxx.office-on-the.net' is not allowed to connect to this MariaDB server in /home/admin/domains/<a href='xxxxx.com/public_html/datas/archetype/connections/MySQLiConnection.php:88'>xxxxx.com/public_html/datas/archetype/connections/MySQLiConnection.php:88</a>; Stack trace: #0
My phprunner is 10.4x
And just to mention that I have wordpress install also and work well with it. That's why I dont really get it.... :-/
I used Vesta cp and never had this error before. Did I miss something ?

admin 3/10/2023

It has nothing to do with PHPRunner.
In MySQL you need to make sure that your database user is allowed to connect from any host or IP address. That is all.