Activity Stream
48,167 MEMBERS
6843 ONLINE
besthostingforums On YouTube Subscribe to our Newsletter besthostingforums On Twitter besthostingforums On Facebook besthostingforums On facebook groups

Page 1 of 3 123 LastLast
Results 1 to 10 of 22
  1.     
    #1
    Member

    Default 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 you
    Flash 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


  2.   Sponsored Links

  3.     
    #2
    Member
    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.

  4.     
    #3
    Probation
    Install a product recently? Try disabling hooks/plugins and see if it is resolved. If so you should know what to do from there.

  5.     
    #4
    Member
    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);

    ???


  6.     
    #5
    Member
    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.

  7.     
    #6
    Member
    Website's:
    forumflare.com

  8.     
    #7
    Member
    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.


  9.     
    #8
    Member
    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

  10.     
    #9
    Member
    Yea i added the user to the database, everything is set yet I still get a DB error.


  11.     
    #10
    Member
    Website's:
    forumflare.com
    Quote Originally Posted by Flash View Post
    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.
    Read my reply. Ty.

Page 1 of 3 123 LastLast

Thread Information

Users Browsing this Thread

There are currently 1 users browsing this thread. (0 members and 1 guests)

Similar Threads

  1. Database Error
    By lovelykiss87 in forum vBulletin
    Replies: 1
    Last Post: 12th Sep 2012, 08:50 PM
  2. Database error (Help please)
    By iman24 in forum Server Management
    Replies: 8
    Last Post: 27th Apr 2012, 08:03 PM
  3. Database error-mysql error
    By saini in forum vBulletin
    Replies: 8
    Last Post: 8th Nov 2011, 06:54 AM
  4. Getting Database Error
    By BounceR in forum Webmaster Discussion
    Replies: 15
    Last Post: 3rd Jul 2011, 08:09 PM
  5. Help: database Error
    By AJ Blacklisted in forum vBulletin
    Replies: 2
    Last Post: 17th May 2011, 04:20 AM

Tags for this Thread

BE SOCIAL