error when running the command perl ./zmconfig.pl
Posted: Tue Apr 13, 2004 10:02 pm
[root@redhat9 zm-1.19.1]# perl ./zmconfig.pl
Loading config from DB
DBI connect('database=zm;host=localhost','',...) failed: Can't connect to local MySQL server through socket
'/var/lib/mysql/mysql.sock' (2) at ./zmconfig.pl line 1476
Warning: unable to load options from database. Ignore if database not created yet
IT ASKED A BUNCH OF QUESTIONS. I WILL NOT LISTED HERE.
Saving config to 'zmconfig.txt'
Saving config to DB
ERROR MESSAGE IS HERE
DBI connect('database=zm;host=localhost','admin',...) failed: Can't connect to local MySQL server through socket '/v
ar/lib/mysql/mysql.sock' (2) at ./zmconfig.pl line 1380
Warning: unable to save options to database. Ignore if database not created yet
Generating 'src/zm_config_defines.h'
Processing 'src/zm_config.h'
Processing 'web/zm_config.php'
Processing 'scripts/zmdc.pl'
Processing 'scripts/zmwatch.pl'
Processing 'scripts/zmaudit.pl'
Processing 'scripts/zmfilter.pl'
Processing 'scripts/zmx10.pl'
Processing 'scripts/zmpkg.pl'
Processing 'scripts/zmupdate.pl'
Processing 'scripts/zmvideo.pl'
Processing 'scripts/zm'
Processing 'db/zmschema.sql'
Now please create your database and database users and then run
'perl zmconfig.pl -noi' to import your configuration into the database
[root@redhat9 zm-1.19.1]# rpm -qa | grep php
==========================================
Loading config from DB
DBI connect('database=zm;host=localhost','',...) failed: Can't connect to local MySQL server through socket
'/var/lib/mysql/mysql.sock' (2) at ./zmconfig.pl line 1476
Warning: unable to load options from database. Ignore if database not created yet
IT ASKED A BUNCH OF QUESTIONS. I WILL NOT LISTED HERE.
Saving config to 'zmconfig.txt'
Saving config to DB
ERROR MESSAGE IS HERE
DBI connect('database=zm;host=localhost','admin',...) failed: Can't connect to local MySQL server through socket '/v
ar/lib/mysql/mysql.sock' (2) at ./zmconfig.pl line 1380
Warning: unable to save options to database. Ignore if database not created yet
Generating 'src/zm_config_defines.h'
Processing 'src/zm_config.h'
Processing 'web/zm_config.php'
Processing 'scripts/zmdc.pl'
Processing 'scripts/zmwatch.pl'
Processing 'scripts/zmaudit.pl'
Processing 'scripts/zmfilter.pl'
Processing 'scripts/zmx10.pl'
Processing 'scripts/zmpkg.pl'
Processing 'scripts/zmupdate.pl'
Processing 'scripts/zmvideo.pl'
Processing 'scripts/zm'
Processing 'db/zmschema.sql'
Now please create your database and database users and then run
'perl zmconfig.pl -noi' to import your configuration into the database
[root@redhat9 zm-1.19.1]# rpm -qa | grep php
==========================================