Professional Documents
Culture Documents
Mariadb Mysql
Mariadb Mysql
--- PhpMyAdmin
PhpMyAdmin is configured to use either MySQL or MariaDB.
When calling PhpMyAdmin, there will be a choice of server: MySQL or MariaDB, the
default server being the first in the list.
To connect with a manager that does not use port 3306, you must specify the port
number:
$mysqli = new mysqli('127.0.0.0.1','user','password','database','3307');
or, in procedural terms:
$mysqli = mysqli_connect('127.0.0.0.1','user','password','database','3307');
To check the connections to the MySQL or MariaDB database manager, use the script
wamp\www\testmysql.php by'http://localhost/testmysql.php'
by first modifying the script according to your settings.