Accessing PHPMyAdmin on local network

Questions about the MySQL, PostgreSQL, and most other databases, as well as using it with PHP can be asked here.

Moderator: General Moderators

Post Reply
SBro
Forum Commoner
Posts: 98
Joined: Tue Sep 30, 2003 10:06 pm

Accessing PHPMyAdmin on local network

Post by SBro »

Hi all, I have Apache, PHPMyAdmin, etc setup here on a server (Win2K) I can access and use phymyadmin fine from the server pc, but not from other computers on the network (WinXP). I can login to phpmyadmin from the other pcs, but once logged in I can't do anything because all the links, etc point to localhost. Obviously localhost isn't going to work from any computer other then the server. Does anyone know how to get around this? I have browsed through the config.inc.php file and changed the localhost in there to the servers specific IP address without any luck, any help would be appreciated, thankyou.
kettle_drum
DevNet Resident
Posts: 1150
Joined: Sun Jul 20, 2003 9:25 pm
Location: West Yorkshire, England

Post by kettle_drum »

Change the absolute path setting in the config file of phpMyAdmin to the network address - i.e. 10.0.1.5 or something, so that it can be understood and accessable from all machines on the network.
SBro
Forum Commoner
Posts: 98
Joined: Tue Sep 30, 2003 10:06 pm

Post by SBro »

Had tried this already, but tried it again, and again without success, this is the line I changed.

$cfgPmaAbsoluteUri = 'http://serversIP/phpMyAdmin/';

The same problem persists. Might something else be interferring with it? WinMySqlAdmin for example?
timvw
DevNet Master
Posts: 4897
Joined: Mon Jan 19, 2004 11:11 pm
Location: Leuven, Belgium

Post by timvw »

change apache settings... use canonical name shoudl be off i guess...
SBro
Forum Commoner
Posts: 98
Joined: Tue Sep 30, 2003 10:06 pm

Post by SBro »

canonical name is off, all urls, links etc, once in phpmyadmin still come up pointing to localhost.
Post Reply