#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 - 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...
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...
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...
If you use an RSS reader, you can subscribe to a feed of all future entries tagged 'mysql'. [ What is this? ]