您好,欢迎访问一九零五行业门户网

mysql简单配置_MySQL

配置文件内容:
# for advice on how to change settings please see# http://dev.mysql.com/doc/refman/5.6/en/server-configuration-defaults.html# *** do not edit this file. it's a template which will be copied to the# *** default location during install, and will be replaced if you# *** upgrade to a newer version of mysql.[client]port=3306default-character-set=utf8[mysqld]# remove leading # and set to the amount of ram for the most important data# cache in mysql. start at 70% of total ram for dedicated server, else 10%.# innodb_buffer_pool_size = 128m# remove leading # to turn on a very important data integrity option: logging# changes to the binary log between backups.# log_bin# these are commonly set, remove the # and set as required.# basedir = .....# datadir = .....# port = .....# server_id = .....port=3306character_set_server=utf8basedir=c:/program files (x86)/mysqldatadir=c:/program files (x86)/mysql/data# remove leading # to set options mainly useful for reporting servers.# the server defaults are faster for transactions and fast selects.# adjust sizes as needed, experiment to find the optimal values.# join_buffer_size = 128m# sort_buffer_size = 2m# read_rnd_buffer_size = 2m sql_mode=no_engine_substitution,strict_trans_tables
安装: mysqld install mysql --defaults-file=c:/program files (x86)/mysql/my.ini
启动:net start mysql
创建用户、授权:grant all privileges on *.* to username@localhost identified by 'password';
其它类似信息

推荐信息