#mysql
Tag
-
Why is there no space in the MySQL password parameter?
After troubleshooting a MySQL issue with a colleague we began discussing a “feature” of the MySQL command line which insists that you don’t put a space in the password parameter when using the short parameter. We both felt that it was rather inconsistent to allow the usage of
-h hostname
or-u username
but insist on-ppassword
instead of-p password
. You can of course use the full parameter--password=password
but as most people use the shorthand commands it just seems slightly unintuitive. -
How to query a database with AJAX and display as a tooltip
This post began as an answer on Stack Overflow to a question on ‘How to query a database with AJAX and display as a tooltip‘. I have put the answer here for future reference.