您当前的位置:首页>>技术中心>>数据恢复文章>>正文
 
MySql noinstall-5.1.34-win32 配置
作者: 来源: 日期:2009-5-4 10:25:08  点击次数:

1. 解压mysql-noinstall-5.1.34-win32.zip 到你喜欢的目录,例如:E:\soft_install\mysql-5.1.34-win32

2. 在根目录E:\soft_install\mysql-5.1.34-win32中有五个配置信息文件:my-small.ini  (memory <= 64M),my-medium.ini (memory 128M ),my-large.ini (memory 512M), my-huge.ini (memory 1G-2G),my-innodb-heavy-4G.ini (memory 4GB),选择其中一个适合自己机子的配置文件。假设选择了my-medium.ini,拷贝到目录C:\WINDOWS,改名为my.ini,并在含有[mysqld]部分的选项文件,指定basedir和datadir参数的值:

# set basedir to your installation path
basedir=E:/soft_install/mysql-5.1.34-win32
# set datadir to the *** of your data directory
datadir=E:/soft_install/mysql-5.1.34-win32/data

请注意在选项文件中使用正斜线儿不是反斜线指定Windows路径名。如果使用反斜线,必须用双反斜线:

[mysqld]
# set basedir to your installation path
basedir=E:\\soft_install\\mysql-5.1.34-win32
# set datadir to the location of your data directory
datadir=E:\\soft_install\\mysql-5.1.34-win32\\data

3. 打开dos命令行窗口,进入到目录E:\soft_install\mysql-5.1.34-win32\bin>

E:\soft_install\mysql-5.1.34-win32\bin>mysqld install
Service successfully installed.

E:\soft_install\mysql-5.1.34-win32\bin>net start mysql
The MySQL service is starting.
The MySQL service was started successfully.
E:\soft_install\mysql-5.1.34-win32\bin>mysql -u root -p
Enter password:
Welcome to the MySQL monitor.  Commands end with ; or \g.
Your MySQL connection id is 1
Server version: 5.1.34-community MySQL Community Server (GPL)

Type 'help;' or '\h' for help. Type '\c' to clear the current input statement.

mysql>

mysql> exit
Bye

E:\soft_install\mysql-5.1.34-win32\bin>net stop mysql
The MySQL service is stopping.
The MySQL service was stopped successfully.

E:\soft_install\mysql-5.1.34-win32\bin>mysqld remove
Service successfully removed.


上一篇:Unicode字符
下一篇:Alternate Data Streams in NTFS
  北京总部: 4006-505-808
  天 津 部: 4006-505-808
  上 海 部: 4006-505-808
  深 圳 部: 4006-505-808
  广 州 部: 4006-505-808
  重 庆 部: 4006-505-808
  南 京 部: 4006-505-808
  其它地区: 4006-505-808
经典案例
中国石油管理局-Oracle数据库恢
中国网通-IBM EXP300磁盘阵列数
大连鸿德经贸有限责任公司-SQL
中国地质环境监测院-HP LH3000
藁城市东街百货-EFS文件解密成
工商银行某省分行-AIX删除LV数
中央电视台新闻评论部-苹果分
promise乔鼎硬盘阵列数据恢复成
麒麟童文化-苹果分区无法打开,
NAS 8100服务器数据恢复成功 
解决方案
raid磁盘阵列OFFLINE后的应急方
磁盘未被格式化,是否格式化数据
误GHOST、误一键恢复灾难应急方
误删除、误格式化数据灾难应急
LINUX FSCK数据出错灾难应急方
北亚数据恢复 - 联系我们 - 关于北亚 - 友情链接 - 网站地图 - RSS聚合 
版权所有 北亚数据恢复中心
全国统一客服热线:4006-505-808
北京总部:北京市海淀区中关村大街11号E世界A座8层832B室