BEAST!MODE Posted January 4, 2008 Share Posted January 4, 2008 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 :] Quote Link to comment https://forums.phpfreaks.com/topic/84387-host-does-not-match-user/ Share on other sites More sharing options...
fenway Posted January 4, 2008 Share Posted January 4, 2008 You have the wrong password. Quote Link to comment https://forums.phpfreaks.com/topic/84387-host-does-not-match-user/#findComment-430372 Share on other sites More sharing options...
BEAST!MODE Posted January 5, 2008 Author Share Posted January 5, 2008 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) Quote Link to comment https://forums.phpfreaks.com/topic/84387-host-does-not-match-user/#findComment-430900 Share on other sites More sharing options...
fenway Posted January 5, 2008 Share Posted January 5, 2008 nobody? Quote Link to comment https://forums.phpfreaks.com/topic/84387-host-does-not-match-user/#findComment-430928 Share on other sites More sharing options...
BEAST!MODE Posted January 5, 2008 Author Share Posted January 5, 2008 i dont know why it says nobody because i made a user and i put the user in config.php :S Quote Link to comment https://forums.phpfreaks.com/topic/84387-host-does-not-match-user/#findComment-430956 Share on other sites More sharing options...
PFMaBiSmAd Posted January 5, 2008 Share Posted January 5, 2008 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...). Quote Link to comment https://forums.phpfreaks.com/topic/84387-host-does-not-match-user/#findComment-431005 Share on other sites More sharing options...
BEAST!MODE Posted January 5, 2008 Author Share Posted January 5, 2008 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> Quote Link to comment https://forums.phpfreaks.com/topic/84387-host-does-not-match-user/#findComment-431448 Share on other sites More sharing options...
Recommended Posts
Join the conversation
You can post now and register later. If you have an account, sign in now to post with your account.