About 2,020,000 results
Open links in new tab
  1. Newest 'mysql' Questions - Stack Overflow

    Dec 17, 2012 · When updating a MySQL database with python3 or PHP, one ensures that the user-supplied values are appropriately protected by using something like: statement = …

  2. sql - MySQL query String contains - Stack Overflow

    52 Mine is using LOCATE in mysql: LOCATE (substr,str), LOCATE (substr,str,pos) This function is multi-byte safe, and is case-sensitive only if at least one argument is a binary string. In your …

  3. How to show the last queries executed on MySQL? - Stack Overflow

    Mar 16, 2009 · Is there any query/way to show the last queries executed on ALL servers?

  4. logging - Log all queries in mysql - Stack Overflow

    Nov 20, 2008 · Is it possible for me to turn on audit logging on my mysql database? I basically want to monitor all queries for an hour, and dump the log to a file.

  5. mysql - ERROR 1452: Cannot add or update a child row: a foreign …

    Feb 9, 2014 · Taken from Using FOREIGN KEY Constraints Foreign key relationships involve a parent table that holds the central data values, and a child table with identical values pointing …

  6. Connect Java to a MySQL database - Stack Overflow

    Here's a short 3-minute video tutorial that demonstrates using MySQL from Java. Check it out here: Quick Tutorial: Connecting to MySQL database using Java

  7. How can I do 'insert if not exists' in MySQL? - Stack Overflow

    I started by googling and found the article How to write INSERT if NOT EXISTS queries in standard SQL which talks about mutex tables. I have a table with ~14 million records. If I want …

  8. How do I remove a MySQL database? - Stack Overflow

    Nov 26, 2015 · mysql> drop database `my-database`; Backticks are for databases or columns, apostrophes are for data within these. For more information, see this answer to Stack …

  9. MySQL: Insert record if not exists in table - Stack Overflow

    Jul 2, 2010 · MySQL allows DUAL to be specified as a table in queries that do not need data from any tables.The DUAL table is a special one-row, one-column table present by default in Oracle …

  10. How to get mysql initial root password? - Ask Ubuntu

    Apr 29, 2019 · After installing mysql using sudo apt-get install mysql-server, no question was asked to me to fill a specific password for root account. Logically, it means password is empty.