This month's discount Comprehensive Database Performance Health Check · Testimonials
SQLAuthority with Pinal Dave
Home
  • Consulting
    • Health Check
  • Free Videos
  • All Articles
    • AI
    • SQL Performance
    • SQL Tips and Tricks
    • Interview Questions and Answers
    • SQL Puzzle
    • SQL Video
    • SQLAuthority News
    • Personal
  • Books
  • Consulting
Gouache painting of a wooden kitchen pass-through with an empty tray on one side and a tray with a teapot coming back, a vermilion towel on the sill.

MySQL OUT Parameter: IN, OUT and INOUT in Stored Procedures

October 14, 2019
Pinal Dave
SQL Tips and Tricks
MariaDB, MySQL, SQL Scripts, SQL Stored Procedure

A MySQL OUT parameter lets a stored procedure hand a value back to the caller through a variable. This post tests IN, OUT and INOUT on a small table, shows the error you get when you pass a literal, and compares the syntax with SQL Server.

Read More
MySQL - Connection Error - [MySQL][ODBC 5.3(w) Driver]Host 'IP' is Not Allowed to Connect to this MySQL Server

MySQL – Connection Error – [MySQL][ODBC 5.3(w) Driver]Host ‘IP’ is Not Allowed to Connect to this MySQL Server

March 27, 2018
Pinal Dave
SQL Tips and Tricks
MySQL, SQL Connection, SQL Error Messages, SQL Scripts

Setting up a linked server to MySQL, the ODBC test failed: Host ‘IP’ is not allowed to connect to this MySQL server. Here is how I fixed it.

Read More
Variables for validating passwords.

MySQL – Fix – Error – Your Password does not Satisfy the Current Policy Requirements

June 27, 2017
Pinal Dave
SQL Tips and Tricks
MySQL, SQL Password, SQL Server Security

MySQL rejected every password with “does not satisfy the current policy requirements”. Here is how to check the validate_password settings and fix it.

Read More
Title card: WordPress Error: Duplicate Entry for Key PRIMARY

MySQL – Fix Error – WordPress Database Error Duplicate Entry for key PRIMARY for Query INSERT INTO wp_options

September 12, 2016
Pinal Dave
SQL Tips and Tricks
MySQL, SQL Constraint and Keys, SQL Error Messages, WordPress

My blog was slow and scheduled posts failed. The cause was a Wordpress Database Error: duplicate entry for key PRIMARY in wp_options. Here is how I fixed it.

Read More
Three seedling cups travel together on one tray toward matching recesses

How to Insert Multiple Rows in a Single SQL Query – Interview Question of the Week #069

May 1, 2016
Pinal Dave
SQL Interview Questions and Answers
MySQL, PostgreSQL, SQL Scripts, SQL Server

Interview question: write one script that inserts multiple rows in a single SQL query and runs unchanged in SQL Server, MySQL and PostgreSQL. Here is my answer.

Read More
MySQL - LEAST and GREATEST Comparison Operators

MySQL – LEAST and GREATEST Comparison Operators

April 19, 2016
Pinal Dave
SQL Tips and Tricks
MySQL, SQL Function, SQL Operator, SQL Scripts

Comparing values across many columns is a common chore. Here is how the MySQL LEAST and GREATEST comparison operators find the smallest and largest value.

Read More
MySQL - FOUND_ROWS() Function for Total Number of Rows Affected

MySQL – FOUND_ROWS() Function for Total Number of Rows Affected

April 15, 2016
Pinal Dave
SQL Tips and Tricks
MySQL, SQL Function, SQL Scripts

In SQL Server you get the number of rows affected with @@ROWCOUNT. In MySQL, you can find the total number of rows with FOUND_ROWS().

Read More
Previous 1 2 3 4 5 6 … 12 Next
  • Books
  • Testimonials
  • Privacy Policy

© 2006 – 2026 All rights reserved. pinal @ SQLAuthority.com