« TV show on local tv station | Cool app I am building »

mysql configuration

By pavic | November 4, 2006

For everyone who does not know, like me, mysql (5 i am not sure for other versions) makes my.cnf file in one of several directories, mostly \windows dir why I don’t know…
And he is pulling conf from there.
I discovered this, wile trying to import large database, the packets were dying…

So if you ever get the message from mysql: “ERROR 1153 at line 42: Got a packet bigger than ‘max_allowed_packet’”
You can edit that file, or invoke the command like explained at

http://dev.mysql.com/doc/refman/5.0/en/packet-too-large.html

Topics: PHP, Database |

Comments

You must be logged in to post a comment.