[Solved] Mysql tmp Error : Can’t create/write to file ‘/tmp/MYkbo3Bl’ (Errcode: 13)

Mysql Error : ERROR 1 (HY000): Can’t create/write to file ‘/tmp/MYkbo3Bl’ (Errcode: 13)

When I tried moving a wordpress website from one server to another I stuck with a big problem. All the posts from the home page simply disappeared. On the admin section of wordrpess all post section give 0 posts to display. But the posts are working fine. When try to create new post category and tags section are empty.

Now Go Google.

define( ‘WP_DEBUG’, true );

at wp-config.php and save

It given that the error above.

Here is the solution

chown root:root /tmp
  chmod 1777 /tmp
  /etc/init.d/mysqld restart

from nixcraft.com


Now just restarted mysql and everything working fine. Nice Solution.

WordPress home page all post missing erron may be solved with this solution.

Look at stack exchange and Here

Ranjith Siji :I am a Full stack Web Developer. I'm interested in Web Designing and passionate towards FOSS. I love Linux and like to promote it. A quick leaner, quick implementer, not away from errors, staying for software and knowledge freedom and doing programming in PHP, Mysql, Postgresql, Laravel, Angulajs and more..