Uutiset:

SMF 2.1.4 has been released! Take it for a spin! Read more.

Main Menu
Advertisement:

Connection Problems!

Aloittaja soule, heinäkuu 05, 2007, 05:03:39 IP

« edellinen - seuraava »

soule

When I go to MY forums, It says

"Connection Problems

Sorry, SMF was unable to connect to the database. This may be caused by the server being busy. Please try again later. "

Then I can not get into it! It is a Simple Machines. It is hosted by Pwnd.

metallica48423

check and ensure the information in Settings.php is correct

The database connection lines begin with $db
Justin O'Leary
Ex-Project Manager
Ex-Lead Support Specialist

LainaaMicrosoft wants us to "Imagine life without walls"...
I say, "If there are no walls, who needs Windows?"


Useful Links:
Online Manual!
How to Help us Help you
Search
Settings Repair Tool

redone

If that information is correct then your likely on an oversold server. Look for another host if you can confirm the information is correct.

edchapman

I'm getting the same error after moving to a new server. I know the server I have now is not "over sold." I have a vert server with nothing eles on it. I went over my Monthly Bandwidth on my last server. Would that have anything to do with it?

shadow82x

Just open up settings.php and make sure your mysql info is correct. If you switched servers you imported the new mysql table correct?
Colin B
Former Spammer, Customize, & Support Team Member

edchapman

My settings.php looks fine.
I did import the mysql smf1.sql backup.

shadow82x

Confirm it with your new host somehow SMF ca't reach your MYSQL database..
Colin B
Former Spammer, Customize, & Support Team Member

edchapman

I can see the table in my phpMyAdmin.
What do you mean by "confirm it with your new host?"

metallica48423

the mysql user must also exist and have access to that database.

It can't work if it can't connect to the database.
Justin O'Leary
Ex-Project Manager
Ex-Lead Support Specialist

LainaaMicrosoft wants us to "Imagine life without walls"...
I say, "If there are no walls, who needs Windows?"


Useful Links:
Online Manual!
How to Help us Help you
Search
Settings Repair Tool

edchapman

How do I do that?

sorry... you lost me. Not that it's hard to do. :)

metallica48423

do you have cpanel on your hosting?
Justin O'Leary
Ex-Project Manager
Ex-Lead Support Specialist

LainaaMicrosoft wants us to "Imagine life without walls"...
I say, "If there are no walls, who needs Windows?"


Useful Links:
Online Manual!
How to Help us Help you
Search
Settings Repair Tool

edchapman

yes.. on both.. The server I'm coming from and this new one.

edchapman

I did a fresh install of SMF on another site (on the same server) and it worked fine.

metallica48423

onto an existing database? or did you create it?

if you want to send me a pm with all the info, especially the cpanel info for the new server i can take a look.
Justin O'Leary
Ex-Project Manager
Ex-Lead Support Specialist

LainaaMicrosoft wants us to "Imagine life without walls"...
I say, "If there are no walls, who needs Windows?"


Useful Links:
Online Manual!
How to Help us Help you
Search
Settings Repair Tool

edchapman

#14
When I installed SMF from the cPanel it added the database. I did not need to do anything else.

What cpanel info are you looking for?

edchapman

hmm... let me ask this.. My domain is not yet pointing to this server, so I'm pulling this up within the server itself. Would that make a different?

metallica48423

#16
ah, so you used fantastico.

Installing SMF on its own doesn't create the database (it can't), and the same is true if you transfer . so you have to create the database, import it, create the user/pass and link it with the database.

Id wait for it to point, but it may still not work if the user doesn't exist.

check this tutorial out: http://www.tutorialized.com/view/tutorial/Create-mySQL-database-with-cPanel-and-phpMyAdmin/23140
Justin O'Leary
Ex-Project Manager
Ex-Lead Support Specialist

LainaaMicrosoft wants us to "Imagine life without walls"...
I say, "If there are no walls, who needs Windows?"


Useful Links:
Online Manual!
How to Help us Help you
Search
Settings Repair Tool

edchapman

I'll wait until I get all my sites pointing right and then check things out.

Advertisement: