Local
This commit is contained in:
+2
-2
@@ -8,7 +8,7 @@ DB_ROOT_PASSWORD=videodetect
|
||||
DB_PASSWORD=videodetect
|
||||
DB_USER=videodetect
|
||||
DB_NAME=videodetect
|
||||
DB_HOST=10.0.1.7
|
||||
DB_HOST=10.0.1.34
|
||||
|
||||
API_HOST=https://10.0.1.7:3000
|
||||
API_HOST=https://10.0.1.34:3000
|
||||
|
||||
|
||||
+1
-1
@@ -18,7 +18,7 @@ my $do_delete = (defined $ENV{'DO_DELETE'}) ? $ENV{'DO_DELETE'} : 1;
|
||||
$SIG{INT} = sub { die "Interrupted\n"; };
|
||||
|
||||
my $dbh = DBI->connect(
|
||||
"DBI:mysql:database=$db_name;host=$db_host;mysql_enable_utf8=1",
|
||||
"DBI:mysql:database=$db_name;host=$db_host;mysql_enable_utf8mb4=1",
|
||||
$db_user,
|
||||
$db_pass,
|
||||
{ mysql_auto_reconnect => 1 }
|
||||
|
||||
Reference in New Issue
Block a user