16980:20071130:111119 Failed to connect to database: Error: Access denied for user 'zabbix'@'localhost' (using password: NO) [1045]
18223:20071130:111722 Starting zabbix_server. ZABBIX 1.4.2.
However when I do
[root@syslog zabbix]# mysql -u zabbix -p
Enter password:
Welcome to the MySQL monitor. Commands end with ; or \g.
Your MySQL connection id is 14610 to server version: 5.0.27
Type 'help;' or '\h' for help. Type '\c' to clear the buffer.
My zabbix conf file
** ZABBIX
** Copyright (C) 2000-2005 SIA Zabbix
**
** This program is free software; you can redistribute it and/or modify
** it under the terms of the GNU General Public License as published by
** the Free Software Foundation; either version 2 of the License, or
** (at your option) any later version.
**
** This program is distributed in the hope that it will be useful,
** but WITHOUT ANY WARRANTY; without even the implied warranty of
** MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
** GNU General Public License for more details.
**
** You should have received a copy of the GNU General Public License
** along with this program; if not, write to the Free Software
** Foundation, Inc., 675 Mass Ave, Cambridge, MA 02139, USA.
**/
global $DB_TYPE, $DB_SERVER, $DB_PORT, $DB_DATABASE, $DB_USER, $DB_PASSWORD, $IMAGE_FORMAT_DEFAULT;
$DB_TYPE = "MYSQL";
$DB_SERVER = "localhost";
$DB_PORT = "3306";
$DB_DATABASE = "zabbix";
$DB_USER = "zabbix";
$DB_PASSWORD = "zabbix";
$IMAGE_FORMAT_DEFAULT = IMAGE_FORMAT_PNG;
?>
~
~
~
~
mysql>
Please help
Thanks
18223:20071130:111722 Starting zabbix_server. ZABBIX 1.4.2.
However when I do
[root@syslog zabbix]# mysql -u zabbix -p
Enter password:
Welcome to the MySQL monitor. Commands end with ; or \g.
Your MySQL connection id is 14610 to server version: 5.0.27
Type 'help;' or '\h' for help. Type '\c' to clear the buffer.
My zabbix conf file
** ZABBIX
** Copyright (C) 2000-2005 SIA Zabbix
**
** This program is free software; you can redistribute it and/or modify
** it under the terms of the GNU General Public License as published by
** the Free Software Foundation; either version 2 of the License, or
** (at your option) any later version.
**
** This program is distributed in the hope that it will be useful,
** but WITHOUT ANY WARRANTY; without even the implied warranty of
** MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
** GNU General Public License for more details.
**
** You should have received a copy of the GNU General Public License
** along with this program; if not, write to the Free Software
** Foundation, Inc., 675 Mass Ave, Cambridge, MA 02139, USA.
**/
global $DB_TYPE, $DB_SERVER, $DB_PORT, $DB_DATABASE, $DB_USER, $DB_PASSWORD, $IMAGE_FORMAT_DEFAULT;
$DB_TYPE = "MYSQL";
$DB_SERVER = "localhost";
$DB_PORT = "3306";
$DB_DATABASE = "zabbix";
$DB_USER = "zabbix";
$DB_PASSWORD = "zabbix";
$IMAGE_FORMAT_DEFAULT = IMAGE_FORMAT_PNG;
?>
~
~
~
~
mysql>
Please help
Thanks
Comment