Hello so I installed mariadb today and as soon as I was done installing this error occurred. Now, this sort of makes sense to me because while maria is the replacement for sql I imagine naming conventions and such are still different.
My problem is I have no idea how to go about fixing this issue, can anyone help me out?
This is my part of my config file:
// ** MySQL settings - You can get this info from your web host ** //
/** The name of the database for WordPress */
define('DB_NAME', 'wpdb');
/** MySQL database username */
define('DB_USER', 'wpuser');
/** MySQL hostname */
define('DB_HOST', 'localhost');
wp-db.php lines 1533-1537
if(WP_DEBUG) {
mysqli_real_connect( $this->dbh, $host, $this->dbuser, $this->dbpassword, null, $port, $socket, $client_flags );
} else {
@mysqli_real_connect( $this->dbh, $host, $this->dbuser, $this->dbpassword, null, $port, $socket, $client_flags);
}
Edit: Could it be that when I created my sqldb it didn't get carried over? I assumed since Maria is a replacement for sql it would merge my known db upon installation.
Edit 2: there error code and command are different than the one referenced in the other stackover flow question. My issue was that I thought since mariadb is the replacement for sql in it's installation process it would merge any sql db's I had. It turns out this was incorrect and creating a new user,db,pass in maria as well as the mysql_upgrade solved my problem!
Thanks amflare, srayhunter and miken32!