MySQL file system (3) _ MySQL

Source: Internet
Author: User
The MySQL file system should first be fast (3) 6. write permission?

In the second stage of development, measures will be taken to execute SQL statements. The current idea is:

Directory used:

/Mountpoint/database/. command/

Then run the command to create the SQL statement as a directory.

Or create a directory to put the SQL statement as a file.


Both solutions have advantages. The first solution can use SQL statements again, but such a directory name is not the same. The second solution uses a semaphore file. after the statement is executed, the file is deleted. when no task is used, the directory is also deleted. For slow query responses, you can select a timeout time.


VII. permission management

In terms of permission management, you can use the Unix permission management method. this solution seems to be the best.

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.