mysql

L.O.V.E. mirror_92 at yahoo.com
Thu Apr 27 15:15:42 EEST 2000


loipon......exw ftiajei ena poli aplo programma se mysql alla mpaaa. den
mpoorw na
synde8w me tipota.
 To programa einai to ejis :

#!/usr/bin/perl -w

use strict;
use DBI;

my $dbh=DBI->connect("dbi:mysql:test", undef, undef)
       or die "den syndeetai:  $DBI::errstr\n";

exit;

to mynima la8oys pou perno synexia otan to trexw san perl programa,
einai :
DBI->connect failed: Can't connect to local MySQL server through socket
'/tmp/mysql.sock' (111) at programa line 6
den syndeetai:  Can't connect to local MySQL server through socket
'/tmp/mysql.sock' (111)


opoios 8a 8elei na boi8isei ..................


--
linux-greek-users mailing list -- http://lists.hellug.gr




More information about the Linux-greek-users mailing list