LAN computer unable to connect to DB
-
Running WAMP, accessing on localhost works fine. I was able to figure out how to open WAMP to my LAN, (
define('DOMAIN_CURRENT_SITE', 'xxx.xxx.xxx.xxx');
) and I can access it, but I get WordPress’ unformatted “Error establishing database connection” error. I’m stuck.Changing DB_HOST to my network IP gives me wp_die screen. With wp_debug set to true, I get the error “Host is not allowed to connect to this MySQL server”
Either I’ve set my wp-config.php up incorrectly, or I need to change a setting in one of the config files of Apache, MySQL.
Other than one change I made to httpd.conf to allow for network connection, all settings of php, apache, mysql are the same: mysql user is root with blank password.
(I’m running multi-site, but I don’t think that should matter much..?)
Any thoughts here? Thanks.
- The topic ‘LAN computer unable to connect to DB’ is closed to new replies.