Greeting Everyone
I have a linux box for hosting websites
I wanted to secure some tables from writing and modifying while the others is open for writing
so I came out with an idea to chmod some tables (MYD,MYI,frm) files in /var/lib/mysql/DATABASE
I need to ask if I can do so without breaking mysql database
and which permission I have to add to it?
thanks
As mentioned in my comment, you should use MySQL user accounts for such purpose. You can read more about user accounts at MySQL documentation, however I personally prefer GUI tools for this purpose. My personal favorite is SQLYog which lets you easily define per-table access level for a particular user (and more), especially if you’re not familiar with MySQL command line.