hackerman Posted March 18, 2007 Report Posted March 18, 2007 Nu ir viens čubaks, kas tur dažus skriptus uz sava pc, kā arī mysql serveri :) Viņš lieto appserv. Kad skriptā norādu piem. $host = "viņa ip"; $db = "db"; utt. Man parādās Warning: mysql_connect() [function.mysql-connect]: Host 'mana ip' is not allowed to connect to this MySQL server in config.php on line 6 Could not connect: Host 'mana ip' is not allowed to connect to this MySQL server Papētīju mysql.ini, bet neko neatradu, kur varētu noteikt, lai mysql varētu izmantot ne tikai lokāli. Kāds varbūt zin kur to var uzstādīt?
andrisp Posted March 18, 2007 Report Posted March 18, 2007 http://dev.mysql.com/doc/refman/5.0/en/adding-users.html
bubu Posted March 18, 2007 Report Posted March 18, 2007 Varbūt kādreiz vajadzētu ar manuāļa izpētīšanu sākt? http://dev.mysql.com/doc/refman/5.0/en/privileges.html http://dev.mysql.com/doc/refman/5.0/en/pri...s-provided.html http://dev.mysql.com/doc/refman/5.0/en/con...ion-access.html http://dev.mysql.com/doc/refman/5.0/en/access-denied.html
Recommended Posts