国产探花免费观看_亚洲丰满少妇自慰呻吟_97日韩有码在线_资源在线日韩欧美_一区二区精品毛片,辰东完美世界有声小说,欢乐颂第一季,yy玄幻小说排行榜完本

首頁 > 數據庫 > MySQL > 正文

綠色版 mysql 安裝配置

2024-07-24 12:43:57
字體:
來源:轉載
供稿:網友
一、下載MySQL
http://www.mysql.org/downloads
我下載的是mysql-noinstall-5.0.67-win32.zip
二、安裝過程
 1、解壓縮 mysql-noinstall-5.0.67-win32.zip 到一個C盤,重新命名為 MySQL5 。
      假定MYSQL_HOME=C:/ MySQL5
 2、編輯mysql的運行配置文件my.ini,如果沒有,可以拿my-medium.ini復制然后更名成 my.ini 
復制代碼 代碼如下:

# Example MySQL config file for medium systems.  
#  
# This is for a system with little memory (32M - 64M) where MySQL plays  
# an important part, or systems up to 128M where MySQL is used together with  
# other programs (such as a web server)  
#  
# You can copy this file to  
# /etc/my.cnf to set global options,  
# mysql-data-dir/my.cnf to set server-specific options (in this  
# installation this directory is C:/mysql/data) or  
# ~/.my.cnf to set user-specific options.  
#  
# In this file, you can use all long options that a program supports.  
# If you want to know which options a program supports, run the program  
# with the "--help" option.  

# The following options will be passed to all MySQL clients  
[client]  
#password   = your_password 
port        = 3306 
socket      = /tmp/mysql.sock  

# Here follows entries for some specific programs  

# The MySQL server  
[mysqld]  
basedir = "C:/MySQL5" 
datadir = "C:/MySQL5/data" 
default-character-set=utf8 

port        = 3306 
socket      = /tmp/mysql.sock  
skip-locking  
key_buffer = 16M 
max_allowed_packet = 1M 
table_cache = 64 
sort_buffer_size = 512K 
net_buffer_length = 8K 
read_buffer_size = 256K 
read_rnd_buffer_size = 512K 
myisam_sort_buffer_size = 8M 

# Don't listen on a TCP/IP port at all. This can be a security enhancement,  
# if all processes that need to connect to mysqld run on the same host.  
# All interaction with mysqld must be made via Unix sockets or named pipes.  
# Note that using this option without enabling named pipes on Windows  
# (via the "enable-named-pipe" option) will render mysqld useless!  
#   
#skip-networking  

# Disable Federated by default  
skip-federated  

# Replication Master Server (default)  
# binary logging is required for replication  
log-bin=mysql-bin  
發表評論 共有條評論
用戶名: 密碼:
驗證碼: 匿名發表
主站蜘蛛池模板: 天气| 安福县| 阜新市| 聂拉木县| 峨山| 隆回县| 潼南县| 樟树市| 康定县| 高碑店市| 丰城市| 邯郸市| SHOW| 宾川县| 神木县| 石河子市| 霍山县| 泉州市| 疏附县| 垦利县| 五家渠市| 彭水| 五指山市| 屯留县| 巴东县| 蓝田县| 任丘市| 屏南县| 大足县| 上饶县| 玛多县| 五家渠市| 眉山市| 犍为县| 长子县| 云林县| 班玛县| 城固县| 疏附县| 永昌县| 六盘水市|