I am trying to use MariaDB instead of MySQL on my windows 7 desktop. Below are the steps I have done so far.
- I have previously MySQL installed in my PC.
- I have not uninstalled that MySQL.
- Downloaded mariadb-5.5.30-win32.msi from mariadb.org
- installed mariadb-5.5 but while installing it asked me to change the service name(by default it was showing service name as MySQL and port number as 3306) as I have MySQL installed with the same service name & port no. So I changed the service name as MariaDB & port as 3305.
Now when connecting from HediSQL by port no: 3305 and localhost I am able to connect to MariaDB and it is showing the 4 default databases as same as MySQL i.e. information_schema, mysql ,performance_schema, and test.
Same way I can connect from HediSQL by port no: 3306(i.e. the default port no of my previously installed MySQL), I am able to connect to my old MySQL and showed my other application databases.
Till now it is absolutely fine.
But how to connect the MariaDB from command line like I used to connect for MySQL using the below command: mysql -uroot -proot i.e. the MySQL client.
and also I can see that in MariaDB 5.5/bin all .exe files (except some extra .exe files) are as same as MySQL/bin. Is it using the same MySQL server internally. if yes then why I need to install MariaDB separately?
Now To use MariaDB shall I need to import my application DB from MySQL to MariaDB?
I am really confused between these two DB. Please help.
Regards, Sandip