Hi DBelton, thanks for the prompt reply...
Sorry Guys,
Thought I had installed mysql, instead I was installing some package which installed some libraries and the database but not the actual server.
Uninstalled what I did install and installed the mysql-server package
Neither worked...
Code:
$ sudo systemctl enable mysqld.service
Failed to issue method call: No such file or directory
$ sudo systemctl start mysqld.service
Failed to issue method call: Unit mysqld.service failed to load: No such file or directory.
See system logs and 'systemctl status mysqld.service' for details.
When I try to connect using root (presuming no password set I get
Code:
# mysql -u root
ERROR 2002 (HY000): Can't connect to local MySQL server through socket '/var/lib/mysql/mysql.sock' (2)
OR with mysqladmin
Code:
mysqladmin version
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!
Is it that there are extra steps to perform after installing mysql - through add/remove programs.
Can't find a relevant readme for mysql on the system.
Can MySql be installed by yum?