2014-11-22から1日間の記事一覧

mysql_exceptions.OperationalError: (1701,

mysql_exceptions.OperationalError: (1701, 'Cannot truncate a table referenced in a foreign key constraint http://stackoverflow.com/questions/5452760/truncate-foreign-key-constrained-table

mysql_exceptions.OperationalError: (2019, "Can't initialize character set utf-8

utf-8 -> utf8 http://purazumakoi.hatenablog.com/entry/2013/11/20/202637

テーブルを空にする

SQL

truncate table [table]; http://www.dbonline.jp/mysql/insert/index12.html

SQLコマンドでSQL文を見る

SQL

show create table [table]; http://stackoverflow.com/questions/5317889/sql-keys-mul-vs-pri-vs-uni

ユーザー管理

http://www.karakaram.com/mysql-user-grant