Gentoo Forums
Gentoo Forums
Gentoo Forums
Quick Search: in
phpMyAdmin 3.3.5.1: Could not connect to MySQL server
View unanswered posts
View posts from last 24 hours

 
Reply to topic    Gentoo Forums Forum Index Other Things Gentoo
View previous topic :: View next topic  
Author Message
John5788
Advocate
Advocate


Joined: 06 Apr 2004
Posts: 2140
Location: 127.0.0.1

PostPosted: Thu Sep 02, 2010 6:36 am    Post subject: phpMyAdmin 3.3.5.1: Could not connect to MySQL server Reply with quote

hello, I was running an older version of phpMyAdmin (last stable in x86, dont remember which version) and just recently upgraded to 3.3.5.1. I am having a problem where I cannot even get the php setup page to connect to the database, it tells me: "Could not connect to MySQL Server"

Screenshot: http://i.imgur.com/PL6iR.jpg

odd, because the previous version of phpMyAdmin worked beautifully and all my sites using the mysql database locally are operating just fine. i've tried restarting mysql which made no difference. i don't know what config to change, since this feature I am accessing should work out of the box.

help?
_________________
John5788
Back to top
View user's profile Send private message
digrouz
Tux's lil' helper
Tux's lil' helper


Joined: 19 Feb 2005
Posts: 124
Location: Mouscron, Belgium

PostPosted: Thu Sep 02, 2010 6:41 am    Post subject: Reply with quote

I'm not an expert at all but a fool question:
in the screenshot, you connect on a local mysql database and you use a tcp connection, is this correct? don't you have to use a socket instead unless you configured the mysql accordingly?
_________________
There are 10 types of people in the world: those who understand binary, and those who don't.
Back to top
View user's profile Send private message
John5788
Advocate
Advocate


Joined: 06 Apr 2004
Posts: 2140
Location: 127.0.0.1

PostPosted: Thu Sep 02, 2010 6:45 am    Post subject: Reply with quote

I tried both the tcp and socket settings, along with mysql and mysqli extensions for php (tried all 4 combinations). none work.
_________________
John5788
Back to top
View user's profile Send private message
John5788
Advocate
Advocate


Joined: 06 Apr 2004
Posts: 2140
Location: 127.0.0.1

PostPosted: Thu Sep 02, 2010 6:49 am    Post subject: Reply with quote

must have been a bug with the out of box setup for 3.3.5.1, because I updated to 3.3.6 and it works just fine.
_________________
John5788
Back to top
View user's profile Send private message
Display posts from previous:   
Reply to topic    Gentoo Forums Forum Index Other Things Gentoo All times are GMT
Page 1 of 1

 
Jump to:  
You cannot post new topics in this forum
You cannot reply to topics in this forum
You cannot edit your posts in this forum
You cannot delete your posts in this forum
You cannot vote in polls in this forum