Go Back   Pligg CMS Forum > Pligg Help > Installation and Upgrade Help

Reply
 
LinkBack Thread Tools Display Modes
  #1 (permalink)  
Old 03-27-2007, 09:22 PM
New Pligger
 
Join Date: Mar 2007
Posts: 15
Thanks: 2
Thanked 0 Times in 0 Posts
Angry can't connect locally to MySQL Server

I've had this problem when trying to intall other CMS-type systems on my local server.

I have verified that the MySQL database server is up and running. I have MySQL Administrator, as well as YourSQL. Both connect successfully to MySQL database; however, when using the EXACT same login info for Pligg install (and I've also tried to install Joomla) it says

"Error: Cannot connect to the database server using the information provided."

Why am I not having any trouble connecting via MySQl Administrator, Your SQL, or even from the Terminal window, yet when trying to install Pligg, it says it cannot connect?
Reply With Quote
  #2 (permalink)  
Old 03-27-2007, 09:26 PM
kbeeveer46's Avatar
Pligg Developer/Admin
Pligg Version: 0
Pligg Template: none
 
Join Date: Jun 2006
Location: Muncie, Indiana
Posts: 3,547
Thanks: 254
Thanked 649 Times in 513 Posts
They key sentence is
Quote:
I've had this problem when trying to intall other CMS-type systems on my local server.
which typically means there's something wrong with your server. There's not much we can help you with.
__________________
I accept donations for my time helping users like you on the forum and IRC.
Reply With Quote
  #3 (permalink)  
Old 03-28-2007, 04:23 AM
savant's Avatar
Constant Pligger
 
Join Date: Apr 2006
Location: UK
Posts: 1,218
Thanks: 64
Thanked 207 Times in 148 Posts
try installing php my admin and see if you can login with that
__________________
Anatomy of the Pligg template Help needed
Reply With Quote
  #4 (permalink)  
Old 03-28-2007, 11:56 AM
New Pligger
 
Join Date: Mar 2007
Posts: 15
Thanks: 2
Thanked 0 Times in 0 Posts
Can't connect witp phpMyAdmin either

I tried, and get the following:

"#2002 - The server is not responding (or the local MySQL server's socket is not correctly configured)"


I'm starting to think that removing and re-installing the server is my only option. I just don't get why my other programs connect to the database fine and anything in my test server folder does not.
Reply With Quote
  #5 (permalink)  
Old 03-28-2007, 05:48 PM
New Pligger
 
Join Date: Mar 2007
Posts: 15
Thanks: 2
Thanked 0 Times in 0 Posts
Well, I uninstalled and re-installed the server, but still have the same problem. Obviously, something else is wrong.
Reply With Quote
  #6 (permalink)  
Old 03-29-2007, 04:01 AM
savant's Avatar
Constant Pligger
 
Join Date: Apr 2006
Location: UK
Posts: 1,218
Thanks: 64
Thanked 207 Times in 148 Posts
how did you create a new database and user in your mysql server?
__________________
Anatomy of the Pligg template Help needed
Reply With Quote
  #7 (permalink)  
Old 03-29-2007, 12:34 PM
New Pligger
 
Join Date: Mar 2007
Posts: 15
Thanks: 2
Thanked 0 Times in 0 Posts
can't connect locally to MySQL

I used YourSQL. Connected to server and created a new user and database for Pligg. Then tested connection in MySQL Administrator. No problems. But Pligg install will not connect.
Reply With Quote
  #8 (permalink)  
Old 03-29-2007, 12:51 PM
savant's Avatar
Constant Pligger
 
Join Date: Apr 2006
Location: UK
Posts: 1,218
Thanks: 64
Thanked 207 Times in 148 Posts
does yoursql let you enter hosts? localhost / 127.0.0.1
__________________
Anatomy of the Pligg template Help needed
Reply With Quote
  #9 (permalink)  
Old 03-29-2007, 12:55 PM
New Pligger
 
Join Date: Mar 2007
Posts: 15
Thanks: 2
Thanked 0 Times in 0 Posts
?

I'm not sure. I added the database under localhost. Should I not have?
Reply With Quote
  #10 (permalink)  
Old 03-29-2007, 01:01 PM
savant's Avatar
Constant Pligger
 
Join Date: Apr 2006
Location: UK
Posts: 1,218
Thanks: 64
Thanked 207 Times in 148 Posts
Quote:
mysql -u root -p
Enter password

create database pligg;

GRANT ALL PRIVILEGES ON pligg.* TO 'pligg'@'localhost' IDENTIFIED BY 'pligg' WITH GRANT OPTION;

FLUSH PRIVILEGES;
That needs to be done on a command prompt ( Start > run > cmd )

That's what i do
__________________
Anatomy of the Pligg template Help needed
Reply With Quote
Reply

Thread Tools
Display Modes
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 Off
[IMG] code is On
HTML code is Off
Trackbacks are On
Pingbacks are On
Refbacks are On
Similar Threads
Thread Thread Starter Forum Replies Last Post
Warning: MySQL server has gone away? Dantey General Help 7 10-30-2008 05:01 AM
mysql has gone away error php warning argh2xxx Bug Report 5 08-13-2008 02:45 AM
Web Host Yankidank Wiki Articles 2 06-26-2008 02:31 PM
Internal server error pligger2 General Help 1 10-19-2007 05:11 AM
Getting an existing installation running locally on WAMP ashepp Installation and Upgrade Help 11 05-14-2007 01:53 PM


Search Engine Friendly URLs by vBSEO 3.2.0