mirror of
https://github.com/ZoneMinder/zoneminder.git
synced 2026-10-26 16:28:31 -04:00
Changed to use the correct DB user.
git-svn-id: http://svn.zoneminder.com/svn/zm/trunk@622 e3e1d417-86f3-4887-817a-d78f3d33393f
This commit is contained in:
1 parent
9e312f60d5
commit
7433fed1ab
1 file changed
+1
-1
@@ -44,7 +44,7 @@ BEGIN
|
||||
{
|
||||
use DBI;
|
||||
no strict 'refs';
|
||||
my $dbh = DBI->connect( "DBI:mysql:database=".ZM_DB_NAME.";host=".ZM_DB_SERVER, ZM_DB_USERA, ZM_DB_PASSA );
|
||||
my $dbh = DBI->connect( "DBI:mysql:database=".ZM_DB_NAME.";host=".ZM_DB_SERVER, ZM_DB_USERB, ZM_DB_PASSB );
|
||||
|
||||
my $sql = "select * from Config";
|
||||
my $sth = $dbh->prepare_cached( $sql ) or die( "Can't prepare '$sql': ".$dbh->errstr() );
|
||||
|
||||
Reference in new issue
Block a user