In real life you will want to check the return value of the connect-method.$dbconnect='DBI:mysql:database=NameOfDatabase; host=NameOfHost; user=U +ser; password=PassWord'; $databasehandle=DBI->connect($dbconnect);
CountZero
"If you have four groups working on a compiler, you'll get a 4-pass compiler." - Conway's Law
In reply to Re: How do I specify the MySQL socket file?
by CountZero
in thread How do I specify the MySQL socket file?
by Plankton
| For: | Use: | ||
| & | & | ||
| < | < | ||
| > | > | ||
| [ | [ | ||
| ] | ] |