MariaDB on Windows - what is this error when trying to start the database engine?

后端 未结 2 1212
囚心锁ツ
囚心锁ツ 2021-02-06 16:48

I am asking this question as an offshoot myself and another SO had from this other MariaDB question: MariaDB on Windows - getting started help?

When I install MariaDB (v

相关标签:
2条回答
  • 2021-02-06 17:23

    The error basically tells that installer did not create the service (it currently does not create services), thus you'll need to do it yourself.

    • start elevated command line
    • switch to directory of your MariaDB installation (C:\Program Files\MariaDB 5.2.4, something like that)
    • bin\mysqld --install

    and only then

    • net start mysql

    Assuming that there is nothing that runs on port 3306, this will stat.

    Alas, the server you will create this way would not be optimized at all. It is better to create a configuration file my.ini (take a look at MySQL docs and .ini files in the installation directory for examples), and put with performance -related stuff here (innodb bufferpool size etc). With config file, you'll need a different command line to register service (step 3 above):

    • bin\mysqld --install MySQL --defaults-file=path\to\my.ini

    Installer for 5.2.4 is basic indeed. It is being reworked though, new one is going to be better usable.

    0 讨论(0)
  • 2021-02-06 17:25

    I installed MariaDB that comes with XAMPP on Windows 10. You will see only mysql in the XAMPP Control Panel. However, if you click Shell on the control panel you can access MariaDB monitor and MariaDB.
    Here are some notes: http://hodentekhelp.blogspot.com/2015/11/how-do-you-access-mariadb-in-xampp.html

    0 讨论(0)
提交回复
热议问题