Mysql Security Settings Graphics and text tutorial _mysql

Source: Internet
Author: User
Copy Code code as follows:

Unzip MySQL to d:\mysql, edit My.ini

[Mysqld]
port=3306
Basedir= "d:/mysql/"
Datadir= "d:/mysql/data/"
Tmpdir= "d:/mysql/tmp/"
Default-character-set=utf8
Default-storage-engine=myisam
Skip-bdb
Skip-innodb
Skip-locking

key_buffer=16m
max_allowed_packet=1m
table_cache=128
Thread_cache=8
join_buffer_size=512k
sort_buffer=512k
record_buffer=512k
max_connections=500
wait_timeout=120
interactive_timeout=120
max_connect_errors=3000
Long_query_time=1
max_heap_table_size=16m
Tmp_table_size=8m
Thread_concurrency=8
Myisam_sort_buffer_size=8m
myisam_sort_buffer_size=4m
Low_priority_updates=1
Ft_min_word_len=1
Edit two batches
Installation
D:
CD D:\mysql\bin
Mysqld-nt.exe--install MySQL--defaults-file=d:\mysql\my.ini
net start MySQL
Pause
Unloading
D:
CD D:\APM\mysql\bin
net stop MySQL
Mysqld-nt.exe--remove MySQL
Pause

Copy Code code as follows:

Add a MySQL startup user, set this user as the guest group,
Set the D:\mysql directory to the Administrators group, system, and new user full permissions.
Set up the MySQL service startup account for the new user and restart the MySQL service.
Settings Deny local login.

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.