Mariadb Windows installation

1. Copy the installation file to the server

share picture< /p>

2. Unzip to the specified directory and create my.ini:

share picture

3. Edit the content of the my.ini file

 [client]

port=3307

[mysql]

default-character-set=utf8

[mysqld]

port=3307

#Program installation directory

basedir=E:/mariadb-10.4.7

#DB storage path

datadir=E:/mariadb-10.4.7/data/
character-set-server=utf8

4. Command green path replacement for command creation service

sc create “MariaDb” binpath= “\”E:/mariadb-10.4.7/bin/mysqld\” \”–defaults-file=E:/mariadb-10.4.7/my.ini\” MariaDb” DisplayName= “MariaDb” start= “auto”

5. Execute Initialization: file under bin, execute:

share picture

6. Start the service

Share pictures

7. cmd to bin and execute mysql -u root -p password (if any)

share picture

Change user password:

  • GRANT ALL PRIVILEGES ON *.* TO ‘root’@‘%’ IDENTIFIED BY ‘123456’ WITH GRANT OPTION;

  • FLUSH PRIVILEGES;

[client]

port=3307

[mysql]

default-character-set=utf8

[mysqld]

port=3307

#Program installation directory

basedir=E:/mariadb-10.4.7

#DB storage path

datadir=E:/mariadb-10.4.7/data/
character-set-server=utf8

GRANT ALL PRIVILEGES ON *.* TO ‘root’@ ‘%’ IDENTIFIED BY ‘123456’ WITH GRANT OPTION; span>

GRANT ALL PRIVILEGES ON *.* TO ‘ root’@‘%’ IDENTIFIED BY ‘123456 ‘WITH GRANT OPTION;< /span>

FLUSH PRIVILEGES;

FLUSH PRIVILEGES;

WordPress database error: [Table 'yf99682.wp_s6mz6tyggq_comments' doesn't exist]
SELECT SQL_CALC_FOUND_ROWS wp_s6mz6tyggq_comments.comment_ID FROM wp_s6mz6tyggq_comments WHERE ( comment_approved = '1' ) AND comment_post_ID = 5572 ORDER BY wp_s6mz6tyggq_comments.comment_date_gmt ASC, wp_s6mz6tyggq_comments.comment_ID ASC

Leave a Comment

Your email address will not be published.