Showing posts with label mysql commands. Show all posts
Showing posts with label mysql commands. Show all posts

Thursday, April 15, 2010

.Net MySQL Connector Error

Apparently there is an error that can occur when a MySQL command tries to execute, but the execution takes longer than the default 'CommandTimeout' of 30 seconds.

To fix the problem, change to MySQLCommand.CommandTimeout to something more useful.

Wednesday, May 27, 2009

mysqld & Options

If you want to run the 'mysqld' command with its options, don't forget that you need 

'mysqladmin -u [username] -p[password] mysqld --[option]...'

You need to do the mysqladmin...username stuff or it won't work.  Yes, this seems common sense, but no one ever explains this part.  This is, also, an instruction for Windows command prompt and not mysql.