Category: Databases

MySQL Import Problem – Autoincrement

Trying to dump and import a mysql database from an old MySQL 3.x server to a 4.x server. Here’s an exerpt from the dump file:

What’s happening, is when it inserts the first row, it’s auto-incrementing the key value

Read More »

Easy MySql Install on RHEL AS4

The RHEL AS4 server had an active RHN membership so installing MySQL server was a quick and easy. Here are the commands: # up2date –install mysql-server # /sbin/service mysqld start # mysqladmin -u root password “my_root_password” # mysqladmin -u root

Read More »

MySQL 4.1.13 Binary Install To RHEL 3 Taroon

Recent I had to install MySQL on a RHEL 3 server. Normally I’d do this with RPMs but in this case the client needed an install that exactly matched another server which had been installed using the TAR/GZ binary distribution.

Read More »

Increase Max Process Memory Allocation

Use this command to increase the max memory that a single process can use:

Add to /etc/sysctl.conf to reload on each boot.

Read More »

Adding MySQL Users

Here’s the syntax to add a user to MySQL:

Read More »

Get a free consultation from Reliable Penguin

Submit the form—or for immediate service call 866-649-7984.