You don't have permission to access /phpmyadmin/ on this server
Posted by: fexmir (---.162.216.81.static.kpr.siw.siwnet.net)
Date: August 02, 2006 03:13PM

Hi.

I use the newest wampserver, but with PHP 4.4.2. and everything is working fine. I can access my web from the internet, but when i try to conect to phpmyadmin from the internet, i get this error "You don't have permission to access /phpmyadmin/ on this server"

I can work with phpmyadmin when i am working directly on the server, but i want to bee able to work on it from the internet (another computer)

How can i resolve this problem?

Re: You don't have permission to access /phpmyadmin/ on this server
Posted by: fexmir (---.162.216.81.static.kpr.siw.siwnet.net)
Date: August 02, 2006 06:18PM

I solved this problem.

Another problem was changing the password and i tryed to follow the advice from [forum.wampserver.com]
But it did not help sad smiley

I got mysql access error instead.

Re: You don't have permission to access /phpmyadmin/ on this server
Posted by: yfastud (72.236.169.---)
Date: August 02, 2006 07:16PM

How did you access your phpMyAdmin by another computer, I mean another computer inside or outside your LAN? Did you change password in TWO PLACES as suggestion?

Re: You don't have permission to access /phpmyadmin/ on this server
Posted by: fexmir (---.162.216.81.static.kpr.siw.siwnet.net)
Date: August 02, 2006 08:33PM

I changed password in TWO PLACES, but it did not work. I got some mysql error instead (saying that the password was wrong). But i knew it was right.

My phpMyAdmin is open now (not good for security) and i can access it from all computers.

I changed phpmyadmin.conf to Order allow,deny
Allow from all

Re: You don't have permission to access /phpmyadmin/ on this server
Posted by: yfastud (72.236.169.---)
Date: August 02, 2006 09:04PM

If you already had password, how come it wide open?

Can your sites be accessible worldwide? If not, don't worry about security yet, cause noone outside your LAN can get into it.

How did you change your password, in phpMyAdmin first then in config.inc.php?

Re: You don't have permission to access /phpmyadmin/ on this server
Posted by: fexmir (---.162.216.81.static.kpr.siw.siwnet.net)
Date: August 02, 2006 09:17PM

I had no password and do not have now.

I tryed to set password following the advice from [forum.wampserver.com]
but i got other errors instead sad smiley

Re: You don't have permission to access /phpmyadmin/ on this server
Posted by: yfastud (72.236.169.---)
Date: August 02, 2006 09:25PM

On that link, the last post is mine, but before my post have some suggestions, too; wonder which one did you try?

Re: You don't have permission to access /phpmyadmin/ on this server
Posted by: fexmir (---.162.216.81.static.kpr.siw.siwnet.net)
Date: August 02, 2006 09:29PM

Oh man, I keep posting over and over, and yes still have people as about it. Maybe this should be a sticky note for everyone.

Either use command promt as CyberSpatium's suggestion or follows these:

For setup password, need to change it in TWO PLACES:

1. Set password in Privilleges in phpMyAdmin from your Browser/Localhost.
Goto: localhost/phpmyadmin/
click on "Privileges" link
click on "edit Privileges" link for ROOT user
and set-up your password (change password) and click go

2. Set password in config.inc.php in /wamp/phpmyadmin.
Find and put your password in this line:
$cfg['Servers'][$i]['password'] = 'Your_new_password_here'; // MySQL password (only

Re: You don't have permission to access /phpmyadmin/ on this server
Posted by: yfastud (72.236.169.---)
Date: August 02, 2006 09:40PM

He he... it's really my post, so I wonder if you did change anything before setup password because a lot of people succeded when follow my suggestion. I personally unistal and reinstall in too many computer and never have problem with password setup, either.

Re: You don't have permission to access /phpmyadmin/ on this server
Posted by: yfastud (72.236.169.---)
Date: August 02, 2006 09:46PM

If you really concern about password setup, my suggestion is uninstall and reinstall wamp; then, before do anything else, follow my suggestion to setup the password first.
Hope this help.

Re: You don't have permission to access /phpmyadmin/ on this server
Posted by: yfastud (72.236.169.---)
Date: August 02, 2006 10:08PM

Or follow this, with assumption that your computer ip is 192.168.0.1:

1. open httpd.conf

2. find the lines
# Controls who can get stuff from this server.
#
Order allow,deny
Allow from all
</Directory>

3. after the </directory> line above add the following:

<Directory "C:/Internet/wamp/www/phpmyadmin">
Order deny,allow
Deny from all
Allow from 192.168.0.1
</Directory>

<Directory "C:/Internet/wamp/www/sqlitemanager">
Order deny,allow
Deny from all
Allow from 192.168.0.1
</Directory>

4. change location of the directories as yours might be different from "C:/Internet/wamp/www/phpmyadmin"

So only your computer can access it.

Hope this help.



Post Edited (08-02-06 22:11)

Have fun,

FREE One A Day
FREE Photo
FREE Games
FREE Websites
FREE Portable GPS
FREE WAMP Guides

Sorry, only registered users may post in this forum.