Go Premium for a chance to win a PS4. Enter to Win

x
?
Solved

Mysql errors

Posted on 2008-06-25
3
Medium Priority
?
1,026 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 1500 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 111

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

Free Tool: Site Down Detector

Helpful to verify reports of your own downtime, or to double check a downed website you are trying to access.

One of a set of tools we are providing to everyone as a way of saying thank you for being a part of the community.

Question has a verified solution.

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

3 proven steps to speed up Magento powered sites. The article focus is on optimizing time to first byte (TTFB), full page caching and configuring server for optimal performance.
This article discusses how to implement server side field validation and display customized error messages to the client.
This tutorial will teach you the core code needed to finalize the addition of a watermark to your image. The viewer will use a small PHP class to learn and create a watermark.
In this video, Percona Solution Engineer Dimitri Vanoverbeke discusses why you want to use at least three nodes in a database cluster. To discuss how Percona Consulting can help with your design and architecture needs for your database and infras…
Suggested Courses

783 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