maxwello62
Forum Replies Created
-
Oh it works!
When I execute this command: setsebool -P httpd_can_network_connect 1
Thank you very muchhere is the line 1988 of class-wpdb.php :
if ( WP_DEBUG ) {
mysqli_real_connect( $this->dbh, $host, $this->dbuser, $this->dbpassword, null, $port, $socket, $client_flags );Hello eveyrobdy
First of all, thank you for your help.
I enable debug mode and I have this error:Warning: mysqli_real_connect(): (HY000/2002): Permission denied in /var/www/html/wordpress/wp-includes/class-wpdb.php on line 1988
Permission deniedI have checked all permissions!
And from my vm, I success to connect to the managed mysql db:[root@vm]# mysql -h 10.198.46.64 -u wordpressuser2 -p
Enter password:
Welcome to the MySQL monitor. Commands end with ; or \g.
Your MySQL connection id is 119798
Server version: 8.0.40-google (Google)mysql>
Hello
The port is 3306, defaut port