Top "Mysql" questions

MySQL is a free, open source Relational Database Management System (RDBMS) that uses Structured Query Language (SQL).

DB Schema For Chats?

I need to store chat conversations in a database schema. The way I would use this database is I would …

mysql db-schema
MySQL Conditional Insert

I am having a difficult time forming a conditional INSERT I have x_table with columns (instance, user, item) where …

mysql insert conditional
How to create a table in a particular database?

The create database statement is: CREATE TABLE table_name ( column_name1 data_type, column_name2 data_type, column_name3 data_…

mysql database create-table
Catch duplicate entry Exception

How can i catch this Exception : com.mysql.jdbc.exceptions.jdbc4.MySQLIntegrityConstraintViolationException: Duplicate entry '22-85' for key 'ID_…

java mysql hibernate jpa sqlexception
How to subtract hours from a datetime in MySQL?

I get a datetime field, that's currently in the query as: SELECT DATE_FORMAT(x.date_entered, '%Y-%m-%…

mysql datetime gmt
Database sharding vs partitioning

I have been reading about scalable architectures recently. In that context, two words that keep on showing up with regards …

mysql sharding database-partitioning
Export dump file from MySql

I want to create a dump file of a table in the database. So database --> king, tablename --&…

mysql dump workbench
Strange MySQL Popup "Mysql Installer is running community mode"

I have installed a recent community version of MySQL from MySQL site. The version is 5.6.x. It was done using …

mysql
How to enable INNODB in mysql

When I execute a query in MySQL it returns an error saying that InnoDB is not enabled. When I clicked …

mysql sql transactions innodb
How to set global event_scheduler=ON even if MySQL is restarted?

I want to set the event_scheduler global to ON even if MySQL is restarted; how can I achieve this? …

mysql events scheduler