Solved

Mysql errors

Posted on 2008-06-25
3
1,022 Views
Last Modified: 2013-12-12
Suddenly for no apparent reason we are getting this kind of error regularly from our LAMP server.

If I refresh the page repeatedly it will finally process ok...

Anyone got a fix for it?
0
Comment
Question by:Riviera1
3 Comments
 
LVL 6

Accepted Solution

by:
Chorch earned 500 total points
ID: 21872561
Hello,

try this:

Edit your my.cnf and add or edit, or check the value:
[mysqld]
tmpdir = /tmp/

Make sure the folder exists (either the existing value or the new added) and chmod 777 it.

Restart mysql and try again to see if error is still there.
0
 
LVL 34

Expert Comment

by:Beverley Portlock
ID: 21872842
MySQL can throw this is the file system is full. See

http://dev.mysql.com/doc/refman/5.0/en/cannot-create.html

Check how much free space you have
0
 
LVL 110

Expert Comment

by:Ray Paseur
ID: 21873211
It's almost always out-of-space in the tmp folder.  Happens at GoDaddy all the time.  If you control the server, add a lot of space to the tmp folder.  If you don't, show the error to the server admins.  They will know what to do.

Best regards, ~Ray
0

Featured Post

Independent Software Vendors: We Want Your Opinion

We value your feedback.

Take our survey and automatically be enter to win anyone of the following:
Yeti Cooler, Amazon eGift Card, and Movie eGift Card!

Question has a verified solution.

If you are experiencing a similar issue, please ask a related question

Suggested Solutions

Part of the Global Positioning System A geocode (https://developers.google.com/maps/documentation/geocoding/) is the major subset of a GPS coordinate (http://en.wikipedia.org/wiki/Global_Positioning_System), the other parts being the altitude and t…
This article discusses how to create an extensible mechanism for linked drop downs.
The viewer will learn how to create and use a small PHP class to apply a watermark to an image. This video shows the viewer the setup for the PHP watermark as well as important coding language. Continue to Part 2 to learn the core code used in creat…
The viewer will learn how to create a basic form using some HTML5 and PHP for later processing. Set up your basic HTML file. Open your form tag and set the method and action attributes.: (CODE) Set up your first few inputs one for the name and …

756 members asked questions and received personalized solutions in the past 7 days.

Join the community of 500,000 technology professionals and ask your questions.

Join & Ask a Question