MySQL Windows

From Corat Coret
Revision as of 18:56, 20 June 2024 by Johan Efendi (talk | contribs) (→‎Install Service)
(diff) ← Older revision | Latest revision (diff) | Newer revision → (diff)

Install Service

Membuat data directory

C:\zip_unpack\directory> bin\mysqld_install_db.exe

Jalankan dengan console

C:\zip_unpack\directory> bin\mysqld.exe --console

Install service, menggunakan command prompt administrator

sc create "MariaDB" binpath= "\"F:/var/apps/Maria-11.4.2-x64/bin/mysqld\" \"--defaults-file=F:/var/mysql/data/01/my.ini\" MariaDB" DisplayName= "MariaDB" start= "auto"