Page 1 of 1

How to change port number for phpMyAdmin?

PostPosted: 09. July 2023 13:51
by nkamp01
Hello,

I've been searching and found a config file(s). I saw also an config.default.php with
$cfg['Servers'][$i]['port'] = '';

I have change it to 3307 but doesn't bring anything. BTW at the top of this file is written "DON"T EDIT", I know!

But how can you change the port number for phpMyAdmin? (I have MariaDb on port 3307 and MySql on port 3306)

Re: How to change port number for phpMyAdmin?

PostPosted: 10. July 2023 07:05
by Altrea
you need to create a config.inc.php file and edit it there.
the port in phpmyadmin only configures on which port phpmyadmin is trying to connect to a MySQL or MariaDB database. it does not change on which port MySQL or MariaDB is listening on.