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>")
 
 
(One intermediate revision by the same user not shown)
Line 1: Line 1:
=Install Service=
=Install Service=


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

Latest revision as of 18:56, 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"