Jump to content

mysql connect problem with a script..


zunjing1

Recommended Posts

I have a huge problem  with autoboss script im installing.

First off, I installed it on one of my domains from my host and it works 100% everytime. Then I got a new domain with the same host and I can not get it to connect EVER.
Here is problems I get when I try..

Warning: mysql_connect() [function.mysql-connect]: Access denied for user 'nobody'@'localhost' (using password: NO) in /home/dauto1/public_html/auto/index.php on line 21

Warning: mysql_db_query(): supplied argument is not a valid MySQL-Link resource in /home/dauto1/public_html/auto/index.php on line 24

Warning: mysql_fetch_array(): supplied argument is not a valid MySQL result resource in /home/dauto1/public_html/auto/index.php on line 25

When I run the setup for the script (www.daleautos.com/auto/setup.php)

I just get these errors
Connection to host failed
Unable to create database
Unable to create vehicle_config table
Unable to create vehicle_inventory table
Unable to create vehicle_imagelist table
Unable to store configuration information

Things ive tried....
-Created many many new databases
-Importing the databases from first domain to the second
-cmod all directories to 777
-re-uploading everything over and over into different directories.
-editing random parts of the files to see if anything happens
-Typing all the mysql tables by hand

Yes, I put everything in the config.php file for the script. Ive installed scripts hundreds of times and keep in mind it works everytime on my 1st domain (www.rpgcredits.com/auto)

Yes I use localhost...Yes I use correct database names and password....Yes ive contacted the hosts (mediacatch.com) about it and after 3 days only thing they could say to me was "did u use localhost" after I told them that in original message.

Any and ALL advice would be greatly appreciated, im on the edge of losing my mind from this!

AIM:zunjing1 MSN:[email protected] email: [email protected]
Link to comment
https://forums.phpfreaks.com/topic/35170-mysql-connect-problem-with-a-script/
Share on other sites

[b]Yes I use correct database names and password[/b]

If your using the correct [b]password[/b], then why do you get the error saying your [b]not[/b] using a password!

Warning: mysql_connect() [function.mysql-connect]: Access denied for user 'nobody'@'localhost' (using password: [b]NO[/b]) in /home/dauto1/public_html/auto/index.php on line 21

printf

Archived

This topic is now archived and is closed to further replies.

×
×
  • 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.