I am new to Linux and servers. I was using mysql 5.5 (was installed using third party repositories) as my DBMS and then I decided to replace it with the latest version of MariaDB.
I executed following commands to stop and delete the mysql:
service mysqld stop yum -y remove mysql*
then I added MariaDB repositories for my OS (CentOS 6 - 64bit) to the yum. Installed it using:
yum install -y MariaDB-server MariaDB-client MariaDB-devel
started it with:
service mysql start
and it successfully started.
Then when I opened phpMyAdmin I recognized it is still connecting to mysql5.5 ! and also from php scripts it seems it is still connecting to that older mysql! I tried to stop mysqld but it told me there is no such service!
When I execute :
mysql -V mysql Ver 15.1 Distrib 10.1.14-MariaDB, for Linux (x86_64) using readline 5.1
I am really confused. Can you please help me what happened and how can I fix it ?