Solved

Mysql errors

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

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

PRTG Network Monitor: Intuitive Network Monitoring

Network Monitoring is essential to ensure that computer systems and network devices are running. Use PRTG to monitor LANs, servers, websites, applications and devices, bandwidth, virtual environments, remote systems, IoT, and many more. PRTG is easy to set up & use.

Question has a verified solution.

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

Suggested Solutions

Title # Comments Views Activity
simplest php form 3 63
MySQL - Restore Database SQL File 5 41
problems with mysql ODBC Connector and vbscript 4 28
Problem sending file attachments 8 23
I imagine that there are some, like me, who require a way of getting currency exchange rates for implementation in web project from time to time, so I thought I would share a solution that I have developed for this purpose. It turns out that Yaho…
Password hashing is better than message digests or encryption, and you should be using it instead of message digests or encryption.  Find out why and how in this article, which supplements the original article on PHP Client Registration, Login, Logo…
Learn how to match and substitute tagged data using PHP regular expressions. Demonstrated on Windows 7, but also applies to other operating systems. Demonstrated technique applies to PHP (all versions) and Firefox, but very similar techniques will w…
The viewer will learn how to look for a specific file type in a local or remote server directory using PHP.

920 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

16 Experts available now in Live!

Get 1:1 Help Now