偷偷摘套内射激情视频,久久精品99国产国产精,中文字幕无线乱码人妻,中文在线中文a,性爽19p

Linux下重新配置MySQL數(shù)據(jù)庫引擎innodb的過程

數(shù)據(jù)庫 MySQL
本文我們主要介紹Linux系統(tǒng)下重新配置MySQL數(shù)據(jù)庫引擎innodb的方法,希望能夠?qū)δ兴鶐椭?/div>

有時候,我們因為工作的需要會重新配置MySQL數(shù)據(jù)庫引擎innodb。那么如何在Linux系統(tǒng)下重新配置MySQL數(shù)據(jù)庫引擎innodb呢?本文我們就來介紹這一部分內(nèi)容,接下來就讓我們來一起了解一下吧!

1)停止mysql服務。

[root@mysql ~]# service mysqld  stop。

2)修改mysql的配置文件。

[root@mysql ~]# vi  /etc/my.cnf。

3)刪除datedir文件夾下的包含ib_logfile1和ibdata的文件。

4)在根目錄下建立mysqldata文件夾。

5)啟動使設置生效。

my.cnf修改內(nèi)容如下:

  1. [mysqld]  
  2. datadir=/var/lib/mysql  
  3. socket=/var/lib/mysql/mysql.sock  
  4. user=mysql 
  5. # Default to using old password format for compatibility with mysql 3.x  
  6. # clients (those using the mysqlclient10 compatibility package).  
  7. old_passwords=1 # Disabling symbolic-links is recommended to prevent assorted security risks;  
  8. # to do so, uncomment this line:  
  9. symbolic-links=0 default-storage-engine=InnoDB 
  10. set-variabletransaction-isolation=READ-COMMITTED innodb_data_home_dir =  
  11. innodb_data_file_path =/mysqldata/ibdata1:2000M;/mysqldata/ibdata2:2000M:autoextend innodb_buffer_pool_size=1G 
  12. innodb_additional_mem_pool_size=20M 
  13. innodb_log_file_size=256M 
  14. innodb_log_buffer_size=8M 
  15. innodb_flush_log_at_trx_commit=1 
  16. innodb_lock_wait_timeout=50 
  17. innodb_thread_concurrency=5 [mysqld_safe]  
  18. log-error=/var/log/mysqld.log  
  19. pid-file=/var/run/mysqld/mysqld.pid 

關于MySQL數(shù)據(jù)庫引擎innodb在Linux系統(tǒng)下的配置方法就介紹到這里了,如果您想了解更多MySQL數(shù)據(jù)庫的知識,可以看一下這里的文章:http://database.51cto.com/mysql/,相信一定可以給您帶來收獲的!

【編輯推薦】

  1. 數(shù)據(jù)庫集群中間件CJDBC詳細介紹
  2. 在SQL Server數(shù)據(jù)庫中插入圖像的實現(xiàn)方法
  3. SQL Server 2005無法連接到本地服務器的解決
  4. SQL Server 2000在Windows7 旗艦版中的安裝配置
  5. 用SQL Server 2005存儲過程實現(xiàn)IP地址歸屬地查詢
責任編輯:趙鵬 來源: 火魔網(wǎng)
相關推薦

2011-07-27 09:33:16

MySQL數(shù)據(jù)庫INNODB數(shù)據(jù)庫引擎

2011-08-17 17:29:32

Windows編譯MySQL

2010-05-24 18:56:15

2019-12-12 10:38:10

mysql數(shù)據(jù)庫nnodb

2015-10-29 13:52:53

MySQLinnodb引擎備份

2012-11-26 10:17:44

InnoDB

2013-05-24 13:24:46

Mysql數(shù)據(jù)庫自動備份

2011-04-07 15:02:02

LinuxMySQL數(shù)據(jù)庫

2011-08-30 13:59:06

QTMysql數(shù)據(jù)庫

2010-10-15 13:45:20

安裝MySql數(shù)據(jù)庫

2011-03-04 14:13:02

MySQL數(shù)據(jù)庫

2010-06-04 18:12:17

MySQL 數(shù)據(jù)庫啟動

2011-06-10 10:31:57

QT mysql linux

2010-05-12 17:45:03

MySQL數(shù)據(jù)庫引擎

2018-08-23 08:12:55

2010-06-11 14:46:13

MySQL數(shù)據(jù)庫

2010-05-11 15:06:24

MySQL MyISA

2011-04-14 11:09:14

MySQL數(shù)據(jù)庫

2019-12-17 08:39:21

Linuxwindowsoracle

2009-06-29 08:52:04

Linux
點贊
收藏

51CTO技術棧公眾號