Search found 4 matches
- Sat Mar 12, 2005 3:58 pm
- Forum: ZoneMinder Previous Versions
- Topic: Mysql error in log "Unknown MySQL Server Host"
- Replies: 11
- Views: 8002
Fix for zmtrigger.pl
In zmtrgger.pl, (ZM 1.20.1) replaced my $dbh = DBI->connect( "DBI:mysql:database=".ZM_DB_NAME.";host=".ZM_DB_SERVER, ZM_DB_USERA, ZM_DB_PASSA ); with my $dbh = DBI->connect( "DBI:mysql:database=".&ZM_DB_NAME.";host=".&ZM_DB_SERVER, &ZM_DB_USER, &ZM_DB_PASS ); from zmfilter.pl in 2 places. Now there ...
- Sat Mar 12, 2005 12:40 pm
- Forum: ZoneMinder Previous Versions
- Topic: Mysql error in log "Unknown MySQL Server Host"
- Replies: 11
- Views: 8002
Line 62 from /usr/local/bin/zmtrigger.pl
Line 62 from /usr/local/bin/zmtrigger.pl my $dbh = DBI->connect( "DBI:mysql:database=".ZM_DB_NAME.";host=".ZM_DB_SERVER, ZM_DB_USERA, ZM_DB_PASSA ); #I proceeded to replace line 62 with my $dbh = DBI->connect( "DBI:mysql:database=zm;host=localhost", "zm", "zmadmin"); #producing new error in log ...
- Sat Mar 12, 2005 12:04 pm
- Forum: ZoneMinder Previous Versions
- Topic: Mysql error in log "Unknown MySQL Server Host"
- Replies: 11
- Views: 8002
more info - mysql
I enabled logging in mysql to the mysql.log file, and although i still see the error above form zmtrigger.pl In the sql log everything seems fine. Here is a snippit. 050312 14:00:50 48 Connect zm@localhost on zm 48 Query select * from Config 48 Quit 21 Query select count(Id) as ZoneCount from Zones ...
- Sat Mar 12, 2005 9:45 am
- Forum: ZoneMinder Previous Versions
- Topic: Mysql error in log "Unknown MySQL Server Host"
- Replies: 11
- Views: 8002
Mysql error in log "Unknown MySQL Server Host"
Hi, I get the following error in the log file when I start ZM v1.20.1 Why is it not displaying the wrong values ? 'ZM_DB_SERVER'=localhost ? ==> zmdc.log <== Starting pending process, zmtrigger.pl 'zmtrigger.pl' started at 05/03/12 11:32:09 'zmtrigger.pl' starting at 05/03/12 11:32:09, pid = 9197 ...