I know this is probably something really small that im missing here, but this is the first real time im using PHP with MySQL. I am attempting to connect to the database server normally through telnet I have to specifiy the database name as follows
mysql -u username -p -h db server databasename
I am using the mysql_connect(); but that only passes host user and password and im getting errors when ever it gets to the point in to the script where it needs to connect. So odds are it is something small that im missing here but i have check through 2 books and i am unable to find the answer.
Thanks in advance for any help
Eric