How to increase the space for MySQL innodb_data files

Source: Internet
Author: User

Today in MySQL to create a table, how not successful, a check, found that the Innodb_data file Ibdata1 is located in the D disk is full, so want to add a file in e-disk,

Check the information, in fact, it is simple.

First close the database

Mysqladmin-u root-p shutdown

Then locate the My.ini file under the MySQL installation path, locate the Innodb_data_home_dir, and change it to

#innodb_data_home_dir = "D:/mysql datafiles/"innodb_data_home_dir=Innodb_data_file_path=d:/ MySQL datafiles/ibdata1:10m; E:/mysql datafiles/ibdata2:50m: Autoextend

This will specify two files.

and start the database.

\mysql Server 5.0\bin>mysqld-nt

Referenced by: http://blog.chinaunix.net/uid-77311-id-4478378.html

http://jazka.blog.51cto.com/809003/328955/

Very well written, thank you.

How to increase the space for MySQL innodb_data files

Related Article

Contact Us

The content source of this page is from Internet, which doesn't represent Alibaba Cloud's opinion; products and services mentioned on that page don't have any relationship with Alibaba Cloud. If the content of the page makes you feel confusing, please write us an email, we will handle the problem within 5 days after receiving your email.

If you find any instances of plagiarism from the community, please send an email to: info-contact@alibabacloud.com and provide relevant evidence. A staff member will contact you within 5 working days.

A Free Trial That Lets You Build Big!

Start building with 50+ products and up to 12 months usage for Elastic Compute Service

  • Sales Support

    1 on 1 presale consultation

  • After-Sales Support

    24/7 Technical Support 6 Free Tickets per Quarter Faster Response

  • Alibaba Cloud offers highly flexible support services tailored to meet your exact needs.