Q. You don’t have permission to access /phpmyadmin/ on this server
Posted by hneelu on February 20, 2009
I have installed wamp on machine A. When I am on the local server that I installed it on I can access PHPMyAdmin from http://127.0.0.1/phpmyadmin or http://localhost/phpmyadmin
But I want to be able to access it from my computer and when I type in IP address of the Server I can see the pages I have put in but when I type http://192.168.0.3/phpmyadmin, PHPMyAdmin comes up saying
Forbidden
You don’t have permission to access /mysql/ on this server.
Solution:
Go to C:\wamp\alias. Open the file phpmyadmin.conf and add
Options Indexes FollowSymLinks MultiViews
Allow Override all
Order Deny,Allow
Deny from all
Allow from 127.0.0.1
Allow from MACHINE_IP
Kate said
I’ve been having this problem for hours! Unfortunately this, like the half dozen other fixes I’ve found online and on forums, does not solve the issue!
When copy/pasting this particular code my localhost suddenly is unable to load and my WAMP icon is more than half-way yellow.
“The connection to the server was reset while the page was loading.
The network link was interrupted while negotiating a connection. Please try again.”
I don’t know if it’s better or worse that I’m getting a different error than 403
hneelu said
Revert back the changes made.
Now stop the wamp server, make the changes, and then start it again.
Also check if the directory is correct. In the phpmyadmin.conf file check the directory path in line 1
Alias /phpmyadmin "c:/wamp/apps/phpadmin3.1.1/"
and
Directory "c:/wamp/apps/phpadmin3.1.1/"
Travis said
Check the alias file to ensure the phpmyadmin alias link is directed to the proper directory. It seems the latest version of WAMP has included phpmyadmin3.1.3 but still has the old alias to 3.1.1 listed.
Fred said
Excellent! Helped me out, copied the fixes found on the net willy nilly without checking phpmyadmin.conf was pointing to the right directory.
Saved my day!
Mamba said
Thank you for the tip.
I’ve wasted several hours trying to figure that out WampServer2.0h, and without your tip probably several more.
They’ve included phpMyAdmin 3.1.3.1, but in the
phpmyadmin.conf
it was:
/wamp/apps/phpmyadmin3.1.3
Pali Madra said
The error in the phpmyadmin.conf has been fixed. But still I cannot access phpmyadmin ;-(
Melangeaddict said
My solution became rather apparent after reading about a hundred of these.
I was trying to set up a phpmyadmin WAMP server for my work, and found that I could access all the information over the localhost address, but not when I put in the ip address. However, I finally found my solution was in the wamp/alias/phpmyadmin.conf file.
Open the file with notepad or wordpad if it is unreadable in notepad, and follow the instructions. Make these changes in the text:
Options Indexes FollowSymLinks MultiViews
AllowOverride all
Order Allow,Deny
Allow from all
Allow from 127.0.0.1
and then the KEY TO IT ALL!!!!! IS TO RESTART WAMP!!! I had done this about 5 times but never restarted. I tried it again but restarted WAMP after saving the change, and everything worked. Good luck!!
Ratty said
I am a beginner to Apache, PHP and MySql.
Just installed WampServer with MySqlAmdin 3.2.0.1 and had the same problem that everyone else had (can’t open MySqlAmdin from any pc on the LAN except the server) but read the post from Melangeaddict and hneelu which solved it for me.
My advice to all would be… whenever you change a configuration, STOP and RESTART All Services. It’s the only way to mske sure your changes are applied.
Dp said
Hey! Thnx for the solution.
but whenever i try to save these changes, access denied to that particular file-phpmyadmin.conf comes up.
I’m not able to save the changes.
Can you please help with that?
deepak said
thanks it’s work……
Arigi Obiero said
This one works fine. Thanks alot man…Much appreciated…Arigi
tomeq said
Thanks Works ;)))))))))))
Arun said
Thanks a lot
jason said
Thank you soo much worked first time excellent!!!
hagen said
thank you, it works đŸ™‚
tere said
this one works, tnx a lot đŸ™‚
Sebastien said
IT WORKS!!!! THANK YOU VERY MUCH MELANGEADDICT!
Murthy said
Hi,
I am new to phpmyadmin… I want to access the phpmyadmin from some other client with server address. Please help me to solve my prob…
tq in advance
santanu said
IT WORKS!!!! THANK YOU VERY
Ravi said
It works fine ..
I don’t know about the windows but in linux yes..
1) vim /etc/httpd/conf.d/phpMyAdmin.conf
Add /modify
Alias /phpMyAdmin /usr/share/phpMyAdmin
Alias /phpmyadmin /usr/share/phpMyAdmin
order deny,allow
deny from all
allow from all
allow from ::1
3) restart the httpd service
/etc/init.d/httpd restart
Now it should be working fine
Cheers
Ravi
gruvii said
Ravi you are correct i that you should add
::1
but everyone allowing allow from all is removing all the security so anyone from outside can potentially access the server. Now if you are behind a firewall of some sort you might still be ok, but I wouldn’t risk it. You can very quickly look at the apache access logs and see what you are accessing the server as ::1 and so you need to add that into the allow. Under certain circumstances you might also have to had the name of your computer as well.
jayanthan said
thanks, work like charm…
bmithun said
THaaaanks a lot man …u are absolutely right đŸ™‚ worked like a magic
Craig said
Ravi – what the hell is that?! You obviously know absolutely nothing about Apache.
Joel said
The problem is probably in apache, add this to httpd.conf and exit and restart. Check the directory for your situation.
AllowOverride All
Order allow,deny
Allow from all
good luck
Joel said
AllowOverride All
Order allow,deny
Allow from all
Shelley Russell said
That works!! Thank you :)!
Joel said
AllowOverride All
Order allow,deny
Allow from all
remove the asterix..
Joel said
bugger..
Directory “c:/wamp/apps/phpmyadmin3.1.3”>
AllowOverride All
Order allow,deny
Allow from all
</Directory
add to front and end..hope this will get through, as code works a bit strange here.
Joel said
Well I give up đŸ˜‰ add > and < to end and front, good luck
Mikoko said
This works as long as you restart WAMP for the changes to take effect.
Dumi said
Hi!
when i logon to my project called “aaa” the wamp server says “You don’t have permission to access /aaa/< on this server" as a 403 forbidden error.
and i have created the database too.
Can anyone help me to solve this problem.
any replies send to duminda.dkp@gmail.com
Thanks & regards,
Dumi.
sk wazid hussain said
Hii.. nice … i have the same access problem and using this code i solve my problem. thanks….
Imran said
I had the same problem, what I did was I went to the WAMP tool icon, right clicked on it and clicked “Put Online” and that worked for me.
Orangetree said
This worked great for me!
Thanks.
vijith said
on the system tray icon
we have to put the server online by pressing the “Put Online”.
or
left click the wamp server icon and put online and the restart all services
vijith said
on the system tray icon
we have to put the server online by pressing the “Put Online”.
or
left click the wamp server icon and put online and then restart all services
euna lessca said
Thank you for this forum also to Melangeaddict! It works in my wamp! Thanks a lot!
Murthy said
Hi,
How can i access any phpmyadmin from hosted server…what are needed changes i need to change in hosted server to other clients can able to connect to my phpmyadmin server.
Yeast Free Diet said
Yeast Free Foods…
[…]Q. You don’t have permission to access /phpmyadmin/ on this server « Exploring Flex[…]…
Free games said
Free games…
[…]Q. You don’t have permission to access /phpmyadmin/ on this server « Exploring Flex[…]…
SanDisk Sansa Clip Mp3 Player review said
SanDisk Sansa Clip Mp3 Player review…
[…]Q. You don’t have permission to access /phpmyadmin/ on this server « Exploring Flex[…]…
public speaking programs in singapore said
singapore public speaking courses…
[…]Q. You don’t have permission to access /phpmyadmin/ on this server « Exploring Flex[…]…
best detox diets said
best detox diets…
[…]Q. You don’t have permission to access /phpmyadmin/ on this server « Exploring Flex[…]…
nam said
thanks everyone
Daniele Alano said
Directory “c:/wamp/apps/phpmyadmin3.1.3″>
AllowOverride All
Order allow,deny
Allow from all
</Directory
It works for me on Win Seven! Thanks a lot
Ricardo said
Daniele Tanks
blindmoondesigns said
I tried Melangeaddict’s advice in post #5 and it worked for me. Thank you very much!
Thank you for puting the time in to publish this info. I found it very useful. If you are ever interested in link building directory list then please contact me. said
Thank you for puting the time in to publish this info. I found it very useful. If you are ever interested in link building directory list then please contact me….
[…]Q. You don’t have permission to access /phpmyadmin/ on this server « Exploring Flex[…]…
moz said
Won’t ‘allow from all’ mean anyone on the internet can access my phpmyadmin folder
I see these things from my logs:
221.143.48.34 – – [xx/Aug/2011:xx:xx:xx] “GET /phpMyAdmin/scripts/setup.php HTTP/1.1” 404 226 “-”
I did not have phpmyadmin installed then, but doesnt that show hackers are automatically scanning for phpmyadmin installations that have ‘allow all’ ?
vellerefondis said
Melangeaddict I just want to say THANK YOU INDEED, i was wandering why i had this error for months, because when i first launched wamp it was working… Thank you again
Serhiy said
Works
khmweb said
I could correct the problem by setting
cgi.force_redirect to 1 in the php.ini.
notinportant said
Thanks a lot for your help, It also worked here!
mainota said
Melangeaddict, thanx man you saved my day
123 said
Nice………
Sachin said
Thank you for help. sachin. sachin.m.jagtap@gmail.com
mouaz said
cool, merci beaucoup!
scannerscan plustek Scan Plustek Opticbook 4800scan Plustek Opticbook 3800Scan Plustek D428Scan Plustek S410Scan Plustek S420Scan Plustek PS406UScan Plustek PS286 PlusScan Plustek PS288Scan Plustek PS406U said
scannerscan plustek Scan Plustek Opticbook 4800scan Plustek Opticbook 3800Scan Plustek D428Scan Plustek S410Scan Plustek S420Scan Plustek PS406UScan Plustek PS286 PlusScan Plustek PS288Scan Plustek PS406U…
[…]Q. You don’t have permission to access /phpmyadmin/ on this server « Exploring Flex[…]…
suraj said
Melangeaddict thanx it worked
whats yur email id i would like to add yu
Polelo said
Not working for me đŸ˜¦
ansh143 said
Not working pls….help
Roy said
Hi there to every body, it’s my first visit of this website; this blog consists of amazing and genuinely fine data for readers.
Dylan said
Thanks , I’ve recently been searching for info about this topic for a while and yours is the best I have discovered till now. However, what in regards to the bottom line? Are you sure about the supply?
Nick said
I had the same problem showing this error:
#1045 – Access denied for user ‘root’@’localhost’ (using password: NO)
I believe my problem was coming from the fact that my mysql server was password protected.
I found a documentation.html file in the phpMyadmin subdirectory in the wamp>apps directory.
This file shows you a step by step of how to set this up but basically all I had to do is open the config.inc.php file int he phpmyadmin directory and there are lines that look like this:
$cfg[‘Servers’][$i][‘user’] = ‘root’;
$cfg[‘Servers’][$i][‘password’] = ‘ ‘; <—- ADD PASSWORD HERE!!!
I just added my password and I was able to go to phpMyadmin after restarting.
Telefon Sex said
Until my daughter mentioned the brown paper right on top of the telefonsex camera.
Paulina said
Hi there would you mind letting me know which web host you’re using? I’ve loaded your blog
in 3 completely different browsers and I must say this blog loads a lot quicker then most.
Can you recommend a good internet hosting provider at a reasonable price?
Thank you, I appreciate it!
Boom trucks said
Hello Dear, are you really visiting this web site regularly, if so afterward you will absolutely
take nice experience.
air conditioning installation in pawleys island said
I need to to thank you for this good read!! I definitely loved every little bit of it.
I have you saved as a favorite to check out new things you
post…
monogrammed towels for college students said
Thanks for every other excellent article. Where else may just anybody
get that kind of info in such an ideal approach of writing?
I have a presentation next week, and I am at the look
for such info.
quibids scam said
Thanks for revealing your ideas listed here. The other matter is that any time
a problem appears with a laptop or computer motherboard, people today should not go ahead and take risk involving repairing the item themselves because if it is not done
correctly it can lead to permanent damage to the whole laptop.
Most commonly it is safe just to approach a dealer
of your laptop for that repair of that motherboard. They’ve already technicians that have an know-how in dealing with laptop motherboard issues and can have the right diagnosis and execute repairs.
bed bugs said
Wow that was strange. I just wrote an really long comment but after I clicked submit my comment didn’t show
up. Grrrr… well I’m not writing all that over again.
Regardless, just wanted to say great blog!
nlp master practitioner said
In my medical practice – over 15 years of expertise in the usage of Bioidentical hormone alternative therapy – I frequently see that we not solely halt, but we reverse
osteoporosis.
Laila said
Great article. I’m going through many of these issues as well..|
creating a dedicated server said
creating a dedicated server
Q. You don’t have permission to access /phpmyadmin/ on this server « Exploring Flex