Scott-- Posted August 13, 2010 Share Posted August 13, 2010 well I am a newb at coding I can do html, php and little SQL and I got a free domain to see if I could get a game up and I got this error Warning: mysql_connect(): Access denied for user 'death'@'192.168.1.1' (using password: YES) in /www/zxq.net/i/n/s/insanethugs/htdocs/class/class_db_mysql.php on line 46 FATAL ERROR: Could not connect to database on localhost (Access denied for user 'death'@'192.168.1.1' (using password: YES)) could anyone give me tips/help/guides?? anything? Quote Link to comment Share on other sites More sharing options...
Scott-- Posted August 13, 2010 Author Share Posted August 13, 2010 Fixed it easily just connected to the database didn't think of that but now I get this error?? I'm so confused QUERY ERROR: No database selected Query was SELECT * FROM settings Quote Link to comment Share on other sites More sharing options...
corruptcity || skalman Posted August 13, 2010 Share Posted August 13, 2010 you havent run the installer.php file or there is a sql file in the upload folder that you can just insert into a db in myadmin Quote Link to comment Share on other sites More sharing options...
Scott-- Posted August 13, 2010 Author Share Posted August 13, 2010 Thanks I'll see what I can do, my friend who is also a coder told me my first problem was to do with config.php so I edoted that then got the second one now will try what you said, thanks for the reply Quote Link to comment Share on other sites More sharing options...
corruptcity || skalman Posted August 13, 2010 Share Posted August 13, 2010 if you do the 1st option make sure afterwards you delete installer.php and close register to stop people hacking your game or re running your installer which then re writes your config file Quote Link to comment Share on other sites More sharing options...
Scott-- Posted August 13, 2010 Author Share Posted August 13, 2010 Nobody knows about the site yet, gonna add a different layout and stuff first maybe add a couple mods..... will do that though thanks.... Quote Link to comment Share on other sites More sharing options...
Jordan Palmer Posted August 13, 2010 Share Posted August 13, 2010 Simple answer; You need to import the SQL file too the database :') Quote Link to comment Share on other sites More sharing options...
corruptcity || skalman Posted August 13, 2010 Share Posted August 13, 2010 pudda i think youll find i said that a few posts again Quote Link to comment Share on other sites More sharing options...
Jordan Palmer Posted August 13, 2010 Share Posted August 13, 2010 Whoops sorry :') Quote Link to comment Share on other sites More sharing options...
corruptcity || skalman Posted August 13, 2010 Share Posted August 13, 2010 i didnt feel like being a jack of clubs with this bloke lol and its ok Quote Link to comment 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.