一步步安装就行了,不需要拷贝吧。
最后运行c:\mysql\bin\winmysqlamin-nt.exe

解决方案 »

  1.   

    是呀,配置只要在php里面配置就可以了,如果你用的是 (php+mysql).
      

  2.   

    内存 32M - 64M   my-medium.cnf
    内存 <=64M       my-samll.cnf
    内存 =512M       my-large.cnf
    内存 1G-2G       my-huge.cnf
    通常来说安装完 MySQL 后,
    可以运行  winmysqladmin.exe
    出现一个登录界面,用户名与密码顺便填一个
    它会自动引导 MySQL 启动的,给你一个参考 
    [mysqld]# Uncomment the following rows if you move the MySQL distribution to another location
    basedir =D:/mysql
    datadir =D:/mysql/data
    #tmpdir#=
    # 临时文件存放目录
    #bind-address=192.168.0.2
    # 本机的IP地址
    port=3306
    # 所占用的IP端口
    #language =chinese
    # 服务器返回信息语言
    #character-set =gb2312
    # 服务器默认的字符集,加上后就支持中文字段,中文索引等(MySQL4.1用)
    default-character-set =gb2312
    # 服务器默认的字符集,加上后就支持中文字段,中文索引等
    #timezone =GMT+ 8
    # 时区北京# Uncomment the following if you want to log updates
    #log-bin = d:/mysql/log/123.log 
    #  二进制Log文件,用于镜像服务器
    log =d:/mysql/log/sql.log
    #  Log记录
    local-infile =1
    # 允许使用 LOAD  DATA  LOCAL
    #socket =MySQL
    skip-lockingset-variable = key_buffer=16K
    set-variable = max_allowed_packet=1M
    set-variable = thread_concurrency=4
    #  CPU数目*2
    set-variable = thread_stack=64K
    set-variable = table_cache=4
    set-variable = sort_buffer=64K
    set-variable = net_buffer_length=2K
    server-id = 1# Un comment the following if you are NOT using BDB tables
    skip-bdb# Uncomment the following if you are using Innobase tables
    skip-innodb
    innodb_data_home_dir = e:\mysql\ibdata
    innodb_data_file_path = ibdata1:1000M
    #  数据文件必须能容下数据和索引
    set-variable = innodb_buffer_pool_size=50M
    #  设置缓冲池大小为内存的 50 - 80 %
    set-variable = innodb_additional_mem_pool_size=5M
    innodb_log_group_home_dir = e:\mysql\ibdata\iblogs
    innodb_log_arch_dir = e:\mysql\ibdata\iblogs
    #  log_arch_dir 必须和 log_group_home_dir 一样
    innodb_log_archive=0
    set-variable = innodb_log_files_in_group=3
    set-variable = innodb_log_file_size=10M
    #  设置日志文件大小为缓冲池的 15%。
    set-variable = innodb_log_buffer_size=8M
    innodb_flush_log_at_trx_commit=1
    #  如果丢失最近的几个事务影响不大的话,设置 flush_log_at_trx_commit 为 0。
    set-variable = innodb_file_io_threads=4
    set-variable = innodb_lock_wait_timeout=50
    [WinMySQLadmin]
    Server=D:/mysql/bin/mysqld-nt.exe
    user=root
    password=