Jump to content

I need some help.


Dogboys

Recommended Posts

Warning: mysql_connect(): Can't connect to local MySQL server through socket '/var/run/mysqld/mysqld.sock' (2) in /home/www/mysite.com/connect.php on line 55
Can't connect to local MySQL server through socket '/var/run/mysqld/mysqld.sock' (2)

Ive never had this error before and i need some help

My database name is pugs which turns into dogboys_pugs and the username is the same as database.

So i do dogboys_pugs for databse and username when i do it. and the password is right also. What am i doing wrong?
Link to comment
Share on other sites

[code=php:0]<?php // config.php :: Low-level app/database variables.

$dbsettings = Array(
        "server"        => "localhost",    // MySQL server name. (Default: localhost)
        "user"          => "****",              // MySQL username.
        "pass"          => "****",              // MySQL password.
        "name"          => "dogboys_pugs",              // MySQL database name.
        "prefix"        => "dk",            // Prefix for table names. (Default: dk)
        "secretword"    => "***");            // Secret word used when hashing information for cookies.

?>[/code]

[b]EDITED BY WILDTEEN88: Removed  username and password info.[/b]
Link to comment
Share on other sites

This thread is more than a year old. Please don't revive it unless you have something important to add.

Join the conversation

You can post now and register later. If you have an account, sign in now to post with your account.

Guest
Reply to this topic...

×   Pasted as rich text.   Restore formatting

  Only 75 emoji are allowed.

×   Your link has been automatically embedded.   Display as a link instead

×   Your previous content has been restored.   Clear editor

×   You cannot paste images directly. Upload or insert images from URL.

×
×
  • Create New...

Important Information

We have placed cookies on your device to help make this website better. You can adjust your cookie settings, otherwise we'll assume you're okay to continue.