Jump to content

mysql mess up


Dogboys

Recommended Posts

Warning: mysql_connect(): Unknown MySQL server host 'pugs_killmonster' (1) in /home3/pugs/public_html/connect.php on line 4
Could not connect.


Ok my database is called killmonster but it made out pugs_killmonster


1<?php
2parse_str("$QUERY_STRING");
3
4$db = mysql_connect("pugs_killmonster", "accountname", "password") 4or die("Could5 not connect.");
6if(!$db)
etc...
after more scripts...


Ok i removed the account name and password for the database as you understand.

I also tried just killmonster instead of pugs_killmonster. Help please.

Also the numbers is the line for the scirpts. So obvisally its the fourth number. So im pretty sure its screwed up with the pugs_killmonster.

Just not that it says unknown. So anyone help please XD?
Link to comment
https://forums.phpfreaks.com/topic/9751-mysql-mess-up/
Share on other sites

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.