MySQL Windows: Difference between revisions

From Corat Coret
(Created page with "=Install Service= Menggunakan command prompt administrator <syntaxhighlight lang="prompt"> 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" </syntaxhighlight>")
 
Line 1: Line 1:
=Install Service=
=Install Service=


Menggunakan command prompt administrator
Membuat data directory
<syntaxhighlight lang="prompt">
<syntaxhighlight>
C:\zip_unpack\directory> bin\mysqld_install_db.exe
</syntaxhighlight>
 
Jalankan dengan console
<syntaxhighlight>
C:\zip_unpack\directory> bin\mysqld.exe --console
</syntaxhighlight>
 
Install service, menggunakan command prompt administrator
<syntaxhighlight>
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"
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"
</syntaxhighlight>
</syntaxhighlight>

Revision as of 14:11, 20 June 2024

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"