icon Get the most out of Surmunity, read our tips here! Need an interesting blog to read? You've got to read the Surpass Blog! | Welcome! Please register to access all of our features.

» Surpass Web Hosting Forums » Discussions » PHP, MySQL » My Database messed up?

PHP, MySQL General PHP questions. Or go to our PHPsuexec Forum >>

Reply
 
LinkBack Thread Tools Search this Thread Rate Thread
Old March 5th, 2008, 2:31 PM   #1 (permalink)
Registered User
Fresh Surpasser
 
Joined in Jan 2008
8 posts
Gave thanks: 0
Thanked 0 times
My Database messed up?

I've done this before on another hosting plan but it didn't seem to do this, I setup the database and I still get this on this page;

http://www.bebedesigns.net/hypnoticmb

Does anybody know what is wrong? I'm setting up an XMB forum btw.
Natasha is offline  
Digg this Post!Add Post to del.icio.usBookmark Post in TechnoratiFurl this Post!
Reply With Quote
Old March 5th, 2008, 2:39 PM   #2 (permalink)
Searcher
Surpass Staff
 
Kayla's Avatar
 
Joined in May 2003
Lives in Orlando
24,699 posts
Gave thanks: 943
Thanked 806 times
Are you sure the database name is bebedesi_hypnoti, and that you added the username to the database?
The error means that the settings are wrong for the username or database name.
__________________
Follow Surpass on Twitter and Facebook
Check out interesting finds on the Surpass Blog
.... it's coming.


Kayla is offline  
Digg this Post!Add Post to del.icio.usBookmark Post in TechnoratiFurl this Post!
Reply With Quote
Old March 5th, 2008, 3:27 PM   #3 (permalink)
Registered User
Fresh Surpasser
 
Joined in Jan 2008
8 posts
Gave thanks: 0
Thanked 0 times
Yeah, everything is fine in that part
Natasha is offline  
Digg this Post!Add Post to del.icio.usBookmark Post in TechnoratiFurl this Post!
Reply With Quote
Old March 5th, 2008, 3:49 PM   #4 (permalink)
URB4N 5K1LLZ
Super #1
 
Roxy's Avatar
 
Joined in Sep 2005
Lives in Orlando, FL
Hosted on SH63
2,656 posts
Gave thanks: 81
Thanked 128 times
I would delete then re-create the database, to make sure that everything is written correctly, then go to the config.php file and rewrite everything, even going as far as copying from the Cpanel and then pasting it in the config file. I do this sometimes, to make sure that I don't make a spelling error (as it happens sometimes since I type fast). It's fool-proof.. lol.

You can also try "repairing" the database by clicking on where it says repair or check database at the very top in Cpanel under MySQL.
__________________
Roxanne


Urban Roxy -Personal Blog
SH63 - the best darn shared server!
Roxy is offline  
Digg this Post!Add Post to del.icio.usBookmark Post in TechnoratiFurl this Post!
Reply With Quote
This user thanks Roxy for this great post!
Kayla (March 5th, 2008)
Old March 6th, 2008, 1:56 PM   #5 (permalink)
Senior Member
Super #1
 
FredFredrickson's Avatar
 
Joined in Nov 2003
Lives in New Hampshire
1,227 posts
Gave thanks: 3
Thanked 25 times
can I see your code? just the connection and SQL part..?
__________________

Surmunity Special-Free Photos To Season Your Site/Blog, Code: fallatsurpass
FredFredrickson is offline  
Digg this Post!Add Post to del.icio.usBookmark Post in TechnoratiFurl this Post!
Reply With Quote
Old March 6th, 2008, 9:34 PM   #6 (permalink)
Surpass Staff
Comfy Contributor
 
Thomas's Avatar
 
Joined in Nov 2007
149 posts
Gave thanks: 10
Thanked 27 times
Natasha,

I took a quick look at the error and can see what is causing it. I'll PM you with details :-)
__________________
Thomas
https://desk.surpasshosting.com/
Thomas is offline  
Digg this Post!Add Post to del.icio.usBookmark Post in TechnoratiFurl this Post!
Reply With Quote
Old March 7th, 2008, 3:18 PM   #7 (permalink)
Senior Member
Super #1
 
FredFredrickson's Avatar
 
Joined in Nov 2003
Lives in New Hampshire
1,227 posts
Gave thanks: 3
Thanked 25 times
Usurp'd
__________________

Surmunity Special-Free Photos To Season Your Site/Blog, Code: fallatsurpass
FredFredrickson is offline  
Digg this Post!Add Post to del.icio.usBookmark Post in TechnoratiFurl this Post!
Reply With Quote
Reply


Currently Active Users Viewing This Thread: 1 (0 members and 1 guests)
 
Thread Tools Search this Thread
Search this Thread:

Advanced Search
Rate This Thread
Rate This Thread:

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off
Trackbacks are On
Pingbacks are On
Refbacks are On