WIN7+MARIADB Free installation version

Source: Internet
Author: User

1. Download Mariadb-10.0.15-winx64.zip website;

2. Unzip to D:/MARIADB;

3. Create a new My.ini file in the D:/MARIADB directory with the following contents:

[mysqld] 
basedir=d:\mariadb 
datadir= D:\MARIADB\DATA&NBSP
Character_set_server=utf8
# allow maximum number of connections
max_connections=200
Span style= "White-space:pre" > # The default storage engine that will be used when creating a new table
# Default-storage-engine=innodb error
#default-storage-engine=myisam
Span style= "White-space:pre" > port=3306 

federated# solution [Note] Plugin ' federated ' is disabled.
[Client]
port=3306
Default_character_set=utf8
#character_set_client =utf8 Error
[Winmysqladmin]
Server=d:\mariadb\bin\mysqld.exe

Encoding Format ansi! Otherwise it will error: ... 2003. No attention to content

4. Run the command line as an administrator; switch to D:/MARIADB

Running: mysqld Install MySQL--defaults-file=d:/mariadb/my.ini

Run: net start MySQL

Note: To this step, there should be no errors if not successful. Go to the D:/mariadb/data directory and have a. err file on your hostname to see where the error is. Generally more obvious. Can Google.

5. When the command enters MySQL, it enters the mariadb. But without MySQL database, launch database, execute mysqladmin-u root-p password Mima, next let input password, direct enter (default password is empty). Then log in Mysql-u root-p, enter the password you set Mima;

6. Then show databases; there is a MySQL database. Execute the following command: Update user set Password=password (' Mima ') where user= ' root '; flush privileges;

7. So far, mariadb.

WIN7+MARIADB Free installation version

Contact Us

The content source of this page is from Internet, which doesn't represent Alibaba Cloud's opinion; products and services mentioned on that page don't have any relationship with Alibaba Cloud. If the content of the page makes you feel confusing, please write us an email, we will handle the problem within 5 days after receiving your email.

If you find any instances of plagiarism from the community, please send an email to: info-contact@alibabacloud.com and provide relevant evidence. A staff member will contact you within 5 working days.

A Free Trial That Lets You Build Big!

Start building with 50+ products and up to 12 months usage for Elastic Compute Service

  • Sales Support

    1 on 1 presale consultation

  • After-Sales Support

    24/7 Technical Support 6 Free Tickets per Quarter Faster Response

  • Alibaba Cloud offers highly flexible support services tailored to meet your exact needs.