Quantcast
Channel: Backup and restore
Viewing all articles
Browse latest Browse all 6586

Re: "Error writing to database" during Course Restore

$
0
0
by Chris Walsh.  

Hi Ken,

I don't have a my.cnf in my MySQL, PHP or Apache folder trees.

I do have a my.ini in my MySQL folder which I believe is the one being picked up my MySQL.  However this doesn't have a max_allowed_packet setting in it.

I am using MySQL 5.5 on a Windows environment.

I have added the setting under the [mysqld] section of my.ini and restarted MySQL server.

... and this has resolved the problem!  Thanks Ken.

I am going to open the zip file and see what the largest binary file is that it most likely tried to insert into the database.  I am guessing 100M might be overkill so bringing it down to a smaller value might be a good idea.

Thanks again.

Chris


Viewing all articles
Browse latest Browse all 6586

Trending Articles



<script src="https://jsc.adskeeper.com/r/s/rssing.com.1596347.js" async> </script>