On Mon, May 15, 2006 7:18 am, Kevin Waterson wrote:
> Is it possible to create a database with pdo_mysql?
> $dbh = new PDO("mysql:host=$hostname;dbname=my_db", $username,
> $password);
> is sort of what it requires... is there some way to omit the dbname?
If you can't elminate it, 'mysql' as a dbn
Is it possible to create a database with pdo_mysql?
$dbh = new PDO("mysql:host=$hostname;dbname=my_db", $username, $password);
is sort of what it requires... is there some way to omit the dbname?
Kind regards
Kevin
--
"Democracy is two wolves and a lamb voting on what to have for lunch.
Libert
2 matches
Mail list logo