LinuxQuestions.org
Review your favorite Linux distribution.
Home Forums Tutorials Articles Register
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Server
User Name
Password
Linux - Server This forum is for the discussion of Linux Software used in a server related context.

Notices


Reply
  Search this Thread
Old 04-24-2009, 05:41 AM   #1
M_C
LQ Newbie
 
Registered: Mar 2007
Posts: 26

Rep: Reputation: 15
phpmyadmin remote login


some help here ?
i cant seem to be able to login to phpmyadmin from a remote PC. localhost works ok
can any one direct me ....configs below

/* Authentication type */
$cfg['Servers'][$i]['auth_type'] = 'http';
/* Server parameters */
$cfg['Servers'][$i]['host'] = '123.456.789.100';
$cfg['Servers'][$i]['connect_type'] = 'tcp';
$cfg['Servers'][$i]['compress'] = false;
$cfg['PmaAbsoluteUri'] = 'http://123.456.789.100/phpmyadmin/';
/* Select mysqli if your server has it */
$cfg['Servers'][$i]['extension'] = 'mysql';
/* User for advanced features */
// $cfg['Servers'][$i]['controluser'] = 'pma';
// $cfg['Servers'][$i]['controlpass'] = 'pmapass';
/* Advanced phpMyAdmin features */
// $cfg['Servers'][$i]['pmadb'] = 'phpmyadmin';



please note that the line $cfg['PmaAbsoluteUri'] was not there ... it as been added trying to get a solution that still doesn't work
 
Old 04-24-2009, 05:49 AM   #2
zhjim
Senior Member
 
Registered: Oct 2004
Distribution: Debian Squeeze x86_64
Posts: 1,748
Blog Entries: 11

Rep: Reputation: 233Reputation: 233Reputation: 233
Your question is a bit confusing. But let me see if I can clarify.

Okay when you sit in front of the machine that runs phpMyAdmin everything works. I guess MySQL it self is also installed on the machine running phpMyAdmin.
Question is
1.) can you just not login into phpMyAdmin from a remote machine
or
2.) you just dont see phpMyAdmin from the remote machine.

if 1.) is the case check out the permission of the SQL Server
on 2.) see if you can reach any other website on the server running phpMyAdmin. Might be a firewall or similar between.
 
Old 04-24-2009, 06:56 AM   #3
M_C
LQ Newbie
 
Registered: Mar 2007
Posts: 26

Original Poster
Rep: Reputation: 15
Quote:
Originally Posted by zhjim View Post
Your question is a bit confusing. But let me see if I can clarify.

Okay when you sit in front of the machine that runs phpMyAdmin everything works. I guess MySQL it self is also installed on the machine running phpMyAdmin.
Question is
1.) can you just not login into phpMyAdmin from a remote machine
or
2.) you just dont see phpMyAdmin from the remote machine.

if 1.) is the case check out the permission of the SQL Server
on 2.) see if you can reach any other website on the server running phpMyAdmin. Might be a firewall or similar between.
clarification :

- mysql is installed
- mysqld service is running
- httpd serivice is running

from local machine 127.0.0.1/phpmyadmin or 192.168.1.1/phpmyadmin everything is ok

from the PC 192.168.1.2/phpmyadmin i get an error 404 Not Found. and yet i know the page is avilable since it's loading from the localhost
 
Old 04-28-2009, 07:40 AM   #4
zhjim
Senior Member
 
Registered: Oct 2004
Distribution: Debian Squeeze x86_64
Posts: 1,748
Blog Entries: 11

Rep: Reputation: 233Reputation: 233Reputation: 233
Hm, bit strange. Did you check the logs of your webserver?

/var/log/apache2/error.log
or
/var/log/apache2/access.log

Can you reach any other page on the phpmyadmin machine? Just create a file with somtehing like
Code:
<h1>here we go</h1>
name it index.html and put it in the document root of your webserver. A connection to 192.168.1.1/index.html should give you the above line....
 
  


Reply



Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is Off
HTML code is Off



Similar Threads
Thread Thread Starter Forum Replies Last Post
can't login to phpmyadmin candyman123 Linux - Software 2 05-27-2006 08:18 PM
phpmyadmin: can not login quarry_06 Linux - Software 1 04-27-2005 10:37 AM
phpmyadmin login issues basq3 Linux - Software 10 04-21-2005 01:46 AM
phpmyadmin can't login vladimir@ares Linux - Software 2 12-31-2004 03:00 AM
MySQL remote access from Dynamic IP Address via phpMyAdmin Swene Linux - Networking 1 05-21-2002 06:02 PM

LinuxQuestions.org > Forums > Linux Forums > Linux - Server

All times are GMT -5. The time now is 12:34 AM.

Main Menu
Advertisement
My LQ
Write for LQ
LinuxQuestions.org is looking for people interested in writing Editorials, Articles, Reviews, and more. If you'd like to contribute content, let us know.
Main Menu
Syndicate
RSS1  Latest Threads
RSS1  LQ News
Twitter: @linuxquestions
Open Source Consulting | Domain Registration