Entries from Tildemark blogs tagged with 'mysql'

Inserting duplicate indexed field in mysql

#1062 - Duplicate entry indexed_field' for key 2 Mysql will return a duplicate entry error when trying to insert a duplicate value in an indexed field in the database. We could modify our sql insert state to check for primary...

Mysqldump memory loss

mysqldump - i often use these to copy tables from one server to another since i find the phpmyadmin dump to be very slow and sometimes i get a page timeout. aside from copying a database to another you can...

Cannot Load Mysql extension please check PHP configuration in phpMyAdmin

I often get this error when i'm installing mysql server and running phpmyadmin. Just in case you are also experiencing the same, Find your php.ini file. Open your httpd.conf file and look for the PHPIniDir variable. If it is set...

Random MySQL Results

I never knew there was a built-in random function in MySQL. What i did was get all the rows and using PHP's array_rand to get a random set of rows. When using RAND() in MySQL together with the LIMIT keywords...

Feed Subscription

If you use an RSS reader, you can subscribe to a feed of all future entries tagged 'mysql'. [ What is this? ]

Subscribe to feed Subscribe to feed

Other Tags

Other tags used on this blog: