uawdijnntqw1x1x1
IP : 3.137.154.13
Hostname : axolotl
Kernel : Linux axolotl 4.9.0-13-amd64 #1 SMP Debian 4.9.228-1 (2020-07-05) x86_64
Disable Function : pcntl_alarm,pcntl_fork,pcntl_waitpid,pcntl_wait,pcntl_wifexited,pcntl_wifstopped,pcntl_wifsignaled,pcntl_wexitstatus,pcntl_wtermsig,pcntl_wstopsig,pcntl_signal,pcntl_signal_dispatch,pcntl_get_last_error,pcntl_strerror,pcntl_sigprocmask,pcntl_sigwaitinfo,pcntl_sigtimedwait,pcntl_exec,pcntl_getpriority,pcntl_setpriority,
OS : Linux
PATH:
/
var
/
..
/
usr
/
share
/
dh-python
/
..
/
doc
/
dbconfig-mysql
/
examples
/
db-test-mysql-perl-2.0
/
mysql-install.pl
/
/
#!/usr/bin/perl use DBI; use strict; # this is the value of the config file passed to us by dbconfig-common my $conffile = $ENV{'dbc_config_include'}; # these are the default names of the variables in the config file our ($dbname, $dbuser, $dbpass, $dbserver, $dbtype); # load 'er up. require $conffile; my $dsn = "DBI:$dbtype:database=$dbname;host=$dbserver"; # error checking here would be a plus. my $dbh = DBI->connect($dsn, $dbuser, $dbpass); # error checking here would be a plus too. $dbh->do("CREATE TABLE IF NOT EXISTS versiontable ( version varchar(32) PRIMARY KEY NOT NULL )"); $dbh->do("DELETE FROM versiontable"); $dbh->do("INSERT INTO versiontable VALUES ( '2.1' )"); $dbh->disconnect(); exit 0;
/var/../usr/share/dh-python/../doc/dbconfig-mysql/examples/db-test-mysql-perl-2.0/mysql-install.pl