If this is your first visit, be sure to check out the FAQ by clicking the link above. You may have to REGISTER before you can post. To start viewing messages, select the forum that you want to visit from the selection below.
[root@localhost ~]# cat /etc/my.cnf
[mysqld]
innodb_file_per_table
datadir=/var/lib/mysql
socket=/var/lib/mysql/mysql.sock
# Disabling symbolic-links is recommended to prevent assorted security risks
symbolic-links=0
# Settings user and group are ignored when systemd is used.
# If you need to run mysqld under a different user or group,
# customize your systemd unit file for mariadb according to the
# instructions in http://fedoraproject.org/wiki/Systemd
#
# include all files from the config directory
#
!includedir /etc/my.cnf.d
[root@localhost ~]#
[root@localhost ~]# mysqladmin -u root -p status
Enter password:
mysqladmin: connect to server at 'localhost' failed
error: 'Can't connect to local MySQL server through socket '/var/lib/mysql/mysql.sock' (2)'
Check that mysqld is running and that the socket: '/var/lib/mysql/mysql.sock' exists!
I did that as well
### Option: DBPassword
# Database password. Ignored for SQLite.
# Comment this line if no password is used.
#
# Mandatory: no
# Default:
# DBPassword=
DBPassword=Krafty@64
### Option: DBSocket
# Path to MySQL socket.
#
# Mandatory: no
# Default:
# DBSocket=/tmp/mysql.sock
### Option: DBPort
# Database port when not using local socket. Ignored for SQLite.
#
# Mandatory: no
# Range: 1024-65535
# Default (for MySQL):
Everything looks, I don't even know how to thank you guys if it wasn't for you and duncan9562 I would have scrapped this and moved on. Again I know no matter what I say won't be enough how much I appreciate your support with this.
There will be a section in the zabbix server config file for "### Option: DBHost".
Can you check the options there are correct?
Did you set up the database correctly, and copy in the database schema / images as part of the tutorial?
Also, is the database (presume MySQL) running??
Everything is working and from the the bottom of my heart I appreciate your patience and support. Man, you were patient very supportive with this troubleshooting. Again I truly appreciate your help with this setup.
Everything is working and from the the bottom of my heart I appreciate your patience and support. Man, you were patient very supportive with this troubleshooting. Again I truly appreciate your help with this setup.
It's all a learning experience! I was definitely in the same situation when I first started, so know how you feel.
Comment