It's really impossible to help without seeing the error, please post it here. You can edit your post and add it. Here are a few ideas:
It seems unlikely that you are really running Microsoft Access on linux. You're using 'mysql' as a password: is your database actually MySQL?
You're using the VARCHAR2 data type but that's an Oracle data type. I don't know for sure but I don't think you can use it in Access. It causes an error if you try to use it in MySQL.
You have one SQL string in a scalar and one in an array, that's probably not what you want.
For creating tables, once you have a working database handle, I suggest using DBI's do():
my $table1 = "CREATE TABLE table1 ( pike varchar2(200), CodigoEmp varchar2(200), NomEmp varchar2(200), Apellido varchar2(200), NombrePc varchar2(200), DireccionIp varchar2(15), email varchar2(200), posicion varchar2(200), recinto varchar2(200), logu varchar2(200), Logs varchar2(100) )"; $dbh->do( $table1 ) or die $dbh->errstr;
Hope this helps!
In reply to Re: Testing Script ODBC
by 1nickt
in thread Testing Script ODBC
by emorfa
| For: | Use: | ||
| & | & | ||
| < | < | ||
| > | > | ||
| [ | [ | ||
| ] | ] |