Displaying 3 results from an estimated 3 matches for "wgdbssl".
2015 Aug 16
2
wordpess can't connect to DB but mediawiki can
>
> You were doing this (looking at the mysql.db table) on your
> "db.example.com" machine, correct?
db.example.com is a load balanced VIP. The VIP is being handled by
keepalived and HA/Proxy. There are two DB's setup in master/master
replication. The two databases and two load balancers are on AWS. The web
server and varnish servers are on digital ocean.
I setup a grant
2015 Aug 16
0
wordpess can't connect to DB but mediawiki can
...y
wiki it NEEDED SSL. Because there was some sensitive data in it. My
website, however, is just a goofball toy project of mine. And doesn't
really need that. But since I have this done for my wiki I was like why
not? I stumbled getting the mediawiki to connect via SSL. Once I found the
setting $wgDBssl = true; for media wiki it just worked.
For my wordpress site, I found the setting define('DB_SSL', true);. I set
that up in wp-config.php. However for some reason that wasn't the silver
bullet that the mediawiki SSL database setting was ( $wgDBssl = true; ). I
can understand why my lit...
2015 Aug 15
2
wordpess can't connect to DB but mediawiki can
...nd the
wordpress site are nearly identical.
Here's the media wiki config first since that one's working:
## Database settings
$wgLBFactoryConf['class'] = 'LBFactorySimple';
$wgDBtype = "mysql";
$wgDBservers = '';
$wgDBserver = "db.example.com";
$wgDBssl = true;
$wgDBname = "jfwiki";
$wgDBuser = "admin_ssl";
$wgDBpassword = "secret";
And here's what the wordpress database connection settings look like since
they are not:
/** MySQL database username */
define('DB_NAME', 'jokefire');
define(...