Hello,<br><br>I'm sorry to post such a basic question, but I hope one of you can help me with something.<br><br>I have created a demo database at <a href="http://www.phpmyadmin.net">www.phpmyadmin.net</a>. It has a database > table > records etc and everything looks good on that end. I am running a browser .pl script to read the database, from a different web server/different url.<br>
<br>In my script, I am trying to log into the database to read it, and I keep getting "Unknown MySQL server host" - but to me it looks like it should go through.<br><br>The database host is:<br>my [dollar sign]dbhost = '<a href="http://demo.phpmyadmin.net/trunk/index.php">http://demo.phpmyadmin.net/trunk/index.php</a>';<br>
<br>The database is:<br>my [dollar sign]dbname = '[my_database_name]';<br><br>The login is:<br>$dblogin= 'root';<br><br>Pass is:<br>my $dbpass = ''; (i leave this empty)<br><br>To me it looks like it should work, but it isn't and I keep getting the error.<br>
<br>Can someone help me figure out what's wrong? If for some reason, the demo site doesn't let me run scripts from an outside server to query a demo db, then is there a place on the demo site where I can run the .pl script against the db?<br>
<br>Thanks!<br>