max_allowed_packet

zebbie

Verified User
Joined
May 30, 2007
Messages
34
I have an error on my website says:

Warning: fread(): supplied argument is not a valid stream resource in /home/admin/domains/site.nl/public_html/uploadnokiatheme.php on line 113

Now I wanted to set max_allowed_packet to 32M

But he said in my root:

dds31:/bin#
mysql --max_allowed_packet=32M ERROR 1045 (28000): Access denied for user 'root'@'localhost' (using password: NO)

Does someone has an answer? thanx
 
I do not have the following file:
The variable is set in the /etc/my.cnf file.

there is no my.cnf in my etc map
 
Back
Top