Hello,

I'm struggling very hard to make the Mediawiki work together with the AWS
RDS running MariaDB with SSL enabled. I've followed the guide on the
website and ended up with the following configuration:

## Database settings
$wgDBtype = "mysql";

$wgDBservers = array(
         array(
                 'host' => "<rds_host_name>",
                 'dbname' => "wiki_db",
                 'user' => "wikiuser",
                 'password' => "wikipassword",
                 'type' => "mysql",
                 'flags' => DBO_SSL,
                 'load' => 0,
                 'sslCAFile' => "/var/www/html/rds-combined-ca-bundle.pem"

         ),
);

# MySQL specific settings
$wgDBprefix = "";

# MySQL table options to use during installation or update
$wgDBTableOptions = "ENGINE=InnoDB, DEFAULT CHARSET=binary";


# Experimental charset support for MySQL 5.0.
$wgDBmysql5 = false;

---------------------

https://docs.aws.amazon.com/AmazonRDS/latest/UserGuide/CHAP_MariaDB.html#MariaDB.Concepts.SSLSupport

However I'm always getting the Access Denied error while trying to connect
with the same credentials and certificate using native MySQL client works
just fine

Any help is highly appreciated.

Many Thanks,
Vladimir.
_______________________________________________
MediaWiki-l mailing list
To unsubscribe, go to:
https://lists.wikimedia.org/mailman/listinfo/mediawiki-l

Reply via email to