kenahoo
Forum Replies Created
Viewing 3 replies - 1 through 3 (of 3 total)
-
Forum: Installing WordPress
In reply to: Can access database from shell, but not in siteWell, if I try
127.0.0.1instead oflocalhost, I get a different formatting of the error:Initialization Error Array ( [callback] => Array ( [0] => CRM_Core_Error [1] => simpleHandler ) [code] => -24 [message] => DB Error: connect failed [mode] => 16 [debug_info] => [nativecode=No such file or directory] [type] => DB_Error [user_info] => [nativecode=No such file or directory] [to_string] => [db_error: message="DB Error: connect failed" code=-24 mode=callback callback=CRM_Core_Error::simpleHandler prefix="" info=" [nativecode=No such file or directory]"] )Forum: Installing WordPress
In reply to: Can access database from shell, but not in siteDepending of your set up, something might be blocking WordPress from accessing your database. It might be incorrect address or credentials
The address is
localhostand the credentials are valid, because I can dowp db checkwith those credentials. So it’s got to be something else.- This reply was modified 5 years, 9 months ago by kenahoo.
Forum: Installing WordPress
In reply to: Can access database from shell, but not in siteI’m running WordPress using Apache. I can connect at the command line to the database by copying & pasting the connection info from
wp-config.php. Is there something else you mean by checking the connection?
Viewing 3 replies - 1 through 3 (of 3 total)