How to change port number for phpMyAdmin?

Und alles was mit phpMyAdmin seine Verwandtschaft findet hat hier seinen Platz.

How to change port number for phpMyAdmin?

Postby nkamp01 » 09. July 2023 13:51

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)
nkamp01
 
Posts: 3
Joined: 09. July 2023 13:25
XAMPP version: xampp-portable-windows-x64-8.2
Operating System: Windows

Re: How to change port number for phpMyAdmin?

Postby Altrea » 10. July 2023 07:05

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.
We don't provide any support via personal channels like PM, email, Skype, TeamViewer!

It's like porn for programmers 8)
User avatar
Altrea
AF Moderator
 
Posts: 11933
Joined: 17. August 2009 13:05
XAMPP version: several
Operating System: Windows 11 Pro x64


Return to phpMyAdmin

Who is online

Users browsing this forum: No registered users and 22 guests