Jason Errol Draut wrote:
>
> I tried the following perl script and got the following error message:
>
> #!/usr/bin/perl
> use DBI;
> $user = "root";
> $pswd = '';
> $options = "localhost";
> $driver = "mysql";
> $database = "carstuff";
> $dsn = "DBI:$driver:database=$database:$options";
> $car_dbhand = DBI->connect($dsn,$user, $pswd)||
> die("Connect error: $DBI::errstr");
Your script does the same like
mysql --user=root --password="" --host=localhost carstuff
Does that work?
Bye,
Jochen
--
Jochen Wiedmann joe@stripped
Life has brown and green eyes. :-) +49 7123 14887