database - MariaDB 5.5 Installation on top of MySQL -
i trying use mariadb instead of mysql on windows 7 desktop. below steps have done far.
- i have mysql installed in pc.
- i have not uninstalled mysql.
- downloaded mariadb-5.5.30-win32.msi mariadb.org
- installed mariadb-5.5 while installing asked me change service name(by default showing service name mysql , port number 3306) have mysql installed same service name & port no. changed service name mariadb & port 3305.
now when connecting hedisql port no: 3305 , localhost able connect mariadb , showing 4 default databases same mysql i.e. information_schema, mysql ,performance_schema, , test.
same way can connect hedisql port no: 3306(i.e. default port no of installed mysql), able connect old mysql , showed other application databases.
till absolutely fine.
but how connect mariadb command line used connect mysql using below command: mysql -uroot -proot i.e. mysql client.
and can see in mariadb 5.5/bin .exe files (except .exe files) same mysql/bin. using same mysql server internally. if yes why need install mariadb separately?
now use mariadb shall need import application db mysql mariadb?
i confused between these 2 db. please help.
regards, sandip
if wish, can copy data directory mysql's datadir mariadb's datadir . shutdown both mysql , mariadb (e.g stop service), , copy files over.
finally, remove ib_logfile0 , ib_logfile1 in destination directory, because you'll run problem on startup (different log sizes not handled gracefully)
Comments
Post a Comment