Results 1 to 10 of 22
-
12th Dec 2009, 03:27 AM #1OPMember
Database Error -_-
Ok So WarezPredator is down due to a DB error and idk wtf is going on. Here is the error:
mysql_connect() [<a
href='function.mysql-connect'>function.mysql-connect</a>]:
Access denied for user 'warezpre'@'localhost' (using password: YES)
/home/predator/public_html/includes/class_core.php on line 311
Line 311 is the following:
$link = $this->functions[$usepconnect ? 'pconnect' : 'connect']("$servername:$port", $username, $password);
I know you have to enter some details but guide me through this I tried but failed. Thank youFlash Reviewed by Flash on . Database Error -_- Ok So WarezPredator is down due to a DB error and idk wtf is going on. Here is the error: mysql_connect() : Access denied for user 'warezpre'@'localhost' (using password: YES) /home/predator/public_html/includes/class_core.php on line 311 Line 311 is the following: $link = $this->functions("$servername:$port", $username, $password); Rating: 5
-
12th Dec 2009, 03:30 AM #2Member
do you have the db name wrong? password?
i see it says denied for user "warezpre" seems like you are using the cpanel user for the db, which is sort of a security risk. Make a db user for the db.
-
12th Dec 2009, 03:32 AM #3Probation
Install a product recently? Try disabling hooks/plugins and see if it is resolved. If so you should know what to do from there.
-
12th Dec 2009, 03:37 AM #4OPMember
Ok so if I were to create a new DB and change the details would they be as follows:
$link = $this->functions[$usepconnect ? 'pconnect' : 'connect']("$servername:$port", sample123, sample321);
???
-
12th Dec 2009, 03:39 AM #5Member
whatt?? no you shuoldn't be editing that file.
you have vbulletin, you edit configuration.php in the includes folder. (i think that is how vb is)
you are editing the wrong file, that is why you are getting errors.
-
12th Dec 2009, 03:42 AM #6MemberWebsite's:
forumflare.comHey, please read this: http://www.besthostingforums.com/showpost.ph...84&postcount=7
-
12th Dec 2009, 03:43 AM #7OPMember
Yes I know about the config file and I know how to edit it but its still giving me errors about that line for some reason.
-
12th Dec 2009, 03:44 AM #8Member
Don't edit any other files except the config.php file,
even if it does say you have too.
Have you added the user to the database?IFUKCO
-
12th Dec 2009, 03:52 AM #9OPMember
Yea i added the user to the database, everything is set yet I still get a DB error.
-
12th Dec 2009, 03:53 AM #10
Sponsored Links
Thread Information
Users Browsing this Thread
There are currently 1 users browsing this thread. (0 members and 1 guests)
Similar Threads
-
Database Error
By lovelykiss87 in forum vBulletinReplies: 1Last Post: 12th Sep 2012, 08:50 PM -
Database error (Help please)
By iman24 in forum Server ManagementReplies: 8Last Post: 27th Apr 2012, 08:03 PM -
Database error-mysql error
By saini in forum vBulletinReplies: 8Last Post: 8th Nov 2011, 06:54 AM -
Getting Database Error
By BounceR in forum Webmaster DiscussionReplies: 15Last Post: 3rd Jul 2011, 08:09 PM -
Help: database Error
By AJ Blacklisted in forum vBulletinReplies: 2Last Post: 17th May 2011, 04:20 AM
themaCreator - create posts from...
Version 3.24 released. Open older version (or...