+ Reply to Thread
Results 1 to 2 of 2

Thread: database error

  1. #1
    New Member sb225 has disabled reputation
    Join Date
    Jun 2007
    Posts
    20

    database error

    I had installed vb on two servers well on one server is working which is php 4but on servage hosting it is not working and the php is 5while installing i am getting error
    Error description: mysql_connect() [function.mysql-connect]: Can't connect to local MySQL server through socket '/tmp/mysql.sock' (2) /mounted-storage/home61b/sub009/sc38517-CPFX/hyd.nu/vb/includes/class_core.php on line 274The database has failed to connect because you do not have permission to connect to the server. Please confirm the values entered in the 'includes/config.php' file.
    I have contacted them they given replies to the databse is empty.but whihc i installed as sample and it is workingcan you tell me what was the problem

  2. #2
    vBulletin Team Wayne Luke is a name known to all Wayne Luke is a name known to all Wayne Luke is a name known to all Wayne Luke is a name known to all Wayne Luke is a name known to all Wayne Luke is a name known to all Wayne Luke's Avatar
    Join Date
    Aug 2000
    Location
    So. California
    Age
    38
    Posts
    34,662
    Blog Entries
    1
    1. One or more of the following is wrong in your config.php file:
    $config['MasterServer']['servername'] (except in rare cases, this should almost always be left as 'localhost' or '127.0.0.1')
    $config['MasterServer']['username']
    $config['MasterServer']['password']
    $config['Database']['dbname']

    If you are unsure of what the appropriate values are then you will need to ask your web host.

    2. Or that this db user is not assigned to that database or does not have permission to access MySQL to create or access a database. You may need to first manually create the database and assign the db user to it. Since each web host is different, if you do not know how to do this then contactyour web host for help.
    Wayne Luke
    Get started with your own social network.
    Purchase and download vBulletin today.
    vBCodex (Running vB 4.0 Suite) - Take your vBulletin Community to the next level. Modification tips, tricks and support.

+ Reply to Thread

Similar Threads

  1. Database error The database has encountered a problem.
    By theOZer in forum vBulletin 3.6 Questions, Problems and Troubleshooting
    Replies: 6
    Last Post: Thu 24th Sep '09, 3:47pm
  2. Database Error(Database Feed Manager)
    By maxicep in forum vBulletin 3.6 Questions, Problems and Troubleshooting
    Replies: 1
    Last Post: Tue 14th Nov '06, 7:17pm
  3. Import error (ImpEx Database errormysql error: Invalid SQL: ) Please help
    By Mordrapheus in forum vBulletin Impex Import System
    Replies: 7
    Last Post: Mon 20th Mar '06, 5:27pm
  4. Database error in vBulletin: cannot use database xxxxxx
    By surfdude in forum vBulletin 2 'How Do I' and Troubleshooting
    Replies: 1
    Last Post: Mon 4th Jun '01, 5:15pm

Bookmarks

Posting Permissions

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