Jump to content

Host does not match user


BEAST!MODE

Recommended Posts

Okay so i just downloaded a script and followed everything in the instructions but when i went to install it i got this:

 

My domain: http://thisparade.net

Link to install: http://thisparade.net/referrers/install.php

 

Warning: mysql_connect() [function.mysql-connect]: Access denied for user 'para_sienna'@'localhost' (using password: YES) in /home/para/public_html/referrers/install.php on line 29

Access denied for user 'para_sienna'@'localhost' (using password: YES)

 

Please help :]

Link to comment
Share on other sites

Okay I fixed it, now the passwords match but it is showing this:

 

Warning: mysql_connect() [function.mysql-connect]: Access denied for user 'nobody'@'localhost' (using password: NO) in /home/para/public_html/referrers/install.php on line 29

Access denied for user 'nobody'@'localhost' (using password: NO)

Link to comment
Share on other sites

That specific error message indicates that your parameters in the mysql_connect() function call are empty and default values where attempted.

 

You would need to post your code to get specific help with what it is doing.

 

Also, check your web server log for errors (such as an include file not working or variables being undefined...).

Link to comment
Share on other sites

okay here is the code for config.php ( i will change the pass afterwards ) :

 

<quote>

<?php

 

############################################################

# SimpleRefer 1.1

# http://so-you.net

# linkware

# Do not edit this script and redistribute

# This script should only be downloaded from so-you.net

# Read the README text file that comes with this script

# Configure the settings in this file

# You will need a MYSQL database

############################################################

 

# MYSQL details...this is essential for the script to work!

 

$dbhost = "localhost"; // MySQL HOST

$username = "para_Sienna"; // MySQL Username

$password = "phpfreaks"; // MySQL Password

$dbname = "para_cutenews"; // MySQL database name

 

$domain = array();

 

#These are domains to ignore, you don't want your own site to be a referer! Add as many as you like just make sure the number in brackets follows on from the last.

 

$domain[0] = 'so-you.net';

$domain[1] = 'ego-box.com';

$domain[2] = 'poker';

$domain[3] = 'sexaychar';

$domain[4] = 'thisparade.net';

 

# change this to the max number of top referers you want showing

 

$toprefs = '15';

 

# change this to the max number of characters in the referers name, this will cause long domain names to be shortened and have ... at the end.

 

$maxchar = '15';

 

# username and password for logging into the admin panel - admin.php

 

$admin_username = 'sienna';

$admin_password = 'phpfreaks';

 

?>

 

</quote>

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.