1 (edited by Fredrik 2004-09-20 15:08)

Topic: Chmod mysql-database files?

It seems like I need to use permission 666 on at least the polls-table (Poll-mod) to be able to remove a thread properly.

What permissions do you have on your database-folder and files?

Can I use 666 on all of my pun-tables? I use chmod 700 on my punbb database folder too, if that matters?

Edit:
Almost seems like my drag n drop copy of my old forum-database didn't work too good, since all new installations of PunBB works just fine. So might this be my problem? If so, then how do I properly move a database from mysql to another server with mysql? Some export-thing I need to run?

Re: Chmod mysql-database files?

how can you chmod database tables?

Re: Chmod mysql-database files?

In your previous topic, I linked to a topic that described what permissions the different MySQL data stuff should have.

the mysql datadir should be 755

inside the datadir, all folders should be 700

inside each database folder, all files should be 660

also, make sure everything's owner and group is mysql

"Programming is like sex: one mistake and you have to support it for the rest of your life."