I have tried to run the script with only the connection statement uncommented and it's the same then. Either way the tables in my database is only around 1000 lines so it shouldn't be an issue.
I have been working a bit with Perl in my summerjob and was completely new to it. These links was enough to get the simple funtionality I needed from my perl scripts. They are easily found through Google so maybe this post isn't very valuable :P
http://www.comp.leeds.ac.uk/Perl/basic.html...
I have made this script that connects to a mySQL database and selects the last row of the table supplied as input.
#!/usr/bin/perl
use DBI;
use Mysql;
$host = '10.47.115.91:3306';
$database = 'ebno_logging';
$user = 'Ebnolog';
$password = 'pw';
$querytable = $ARGV[0];
$querystring = "SELECT *...
This site uses cookies to help personalise content, tailor your experience and to keep you logged in if you register.
By continuing to use this site, you are consenting to our use of cookies.