Professional Documents
Culture Documents
Mariadb Mysql
Mariadb Mysql
8 and more
To avoid interfering with MySQL, the default port used by MariaDB is port 3307, if
both SGDBs are used
To allow the use of MariaDB, the relevant option must be validated in the
Wampserver settings:
Right-click Wampmanager icon -> Wamp settings -> Allow MariaDB
And, of course, to have a version of MariaDB installed on Wampserver.
If this is not the case, different MariaDB addons exist on Sourceforge and on the
secondary repository.
Once the MariaDB item appears in the Wampmanager menus, you can use it.
--- Some details about using MariaDB with Wampserver
--- PhpMyAdmin
PhpMyAdmin is set to use either MySQL or MariaDB.
When calling PhpMyAdmin, there will be the choice of the server: MySQL or MariaDB.
For your connections to a database server to be done with MariaDB instead of MySQL,
you must specify the port number.
Indeed, without specifying the port, it will be the default port that will be used,
therefore 3306, so the default port assigned to MySQL.
Connection scripts use, for example:
$mysqli = new mysqli('127.0.0.1', 'user', 'password', 'database');
Or, in procedural terms :
$mysqli = mysqli_connect('127.0.0.1', 'user', 'password', 'database');