Solved

Mysql errors

Posted on 2008-06-25
3
1,017 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
Comment Utility
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
Comment Utility
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 108

Expert Comment

by:Ray Paseur
Comment Utility
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

How to run any project with ease

Manage projects of all sizes how you want. Great for personal to-do lists, project milestones, team priorities and launch plans.
- Combine task lists, docs, spreadsheets, and chat in one
- View and edit from mobile/offline
- Cut down on emails

Join & Write a Comment

Popularity Can Be Measured Sometimes we deal with questions of popularity, and we need a way to collect opinions from our clients.  This article shows a simple teaching example of how we might elect a favorite color by letting our clients vote for …
These days socially coordinated efforts have turned into a critical requirement for enterprises.
The viewer will learn how to count occurrences of each item in an array.
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.

771 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

Need Help in Real-Time?

Connect with top rated Experts

13 Experts available now in Live!

Get 1:1 Help Now