marcallen Posted January 31, 2008 Share Posted January 31, 2008 Here is the error message: Warning: mysql_connect() [function.mysql-connect]: Unknown MySQL server host '0net' (1) in /home/nightjocks/domains/nightjocks.net/public_html/store2/includes/database/mysql.php on line 14 Unknown MySQL server host '0net' (1) I uploaded a new software to my server which is located at www.nightjocks.net/store2. I purchased the software, and all I got was a zip file with the contents of the site (a shopping cart software). I am still fairly new to SQL, but I ASSUME I just need to go into a file somewhere to input the database name/password/etc. I've tried that in the location in the error message, but that didn't work. I asked my webhost what version of MySQL I have, and he just replied "the latest" -- Sorry I don't have an exact version, but if it's needed, let me know. Any ideas? Thanks in advance for any help. Quote Link to comment https://forums.phpfreaks.com/topic/88653-new-software-causing-sql-error/ Share on other sites More sharing options...
revraz Posted January 31, 2008 Share Posted January 31, 2008 Look for the mysql connect area and see what is being used as a Server name, id, pw and databsae. I assume your DB server name is not 0net. Many times it's in a config file, or a conf file. Quote Link to comment https://forums.phpfreaks.com/topic/88653-new-software-causing-sql-error/#findComment-454011 Share on other sites More sharing options...
marcallen Posted January 31, 2008 Author Share Posted January 31, 2008 Thank you. I'm still trying to locate a config or conf file. I can't find find one that has '0net' in it, so not sure where this information is. Quote Link to comment https://forums.phpfreaks.com/topic/88653-new-software-causing-sql-error/#findComment-454389 Share on other sites More sharing options...
revraz Posted January 31, 2008 Share Posted January 31, 2008 Look in your scripts for a INCLUDE file at the top. Quote Link to comment https://forums.phpfreaks.com/topic/88653-new-software-causing-sql-error/#findComment-454406 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.