サポート #646
pictcodeデータベースの作成
ステータス: | 新規 | 開始日: | 2016/02/05 | |
---|---|---|---|---|
優先度: | 通常 | 期日: | ||
担当者: | 矢野 宗一郎 | 進捗 %: | 0% | |
カテゴリ: | - | 作業時間の記録: | - | |
対象バージョン: | - |
説明
●DB作成
$ cd /var/www/pictcode_admin/ $ mysql -u root -p < pictcode.sql
●確認
$ mysql -u root -p pictcode mysql> show table status; +---------------+--------+---------+------------+------+----------------+-------------+-----------------+--------------+-----------+----------------+---------------------+-------------+------------+-----------------+----------+----------------+---------+ | Name | Engine | Version | Row_format | Rows | Avg_row_length | Data_length | Max_data_length | Index_length | Data_free | Auto_increment | Create_time | Update_time | Check_time | Collation | Checksum | Create_options | Comment | +---------------+--------+---------+------------+------+----------------+-------------+-----------------+--------------+-----------+----------------+---------------------+-------------+------------+-----------------+----------+----------------+---------+ | cake_sessions | InnoDB | 10 | Compact | 0 | 0 | 16384 | 0 | 0 | 5242880 | NULL | 2016-02-05 17:57:08 | NULL | NULL | utf8_general_ci | NULL | | | | categories | InnoDB | 10 | Compact | 0 | 0 | 16384 | 0 | 0 | 5242880 | 1 | 2016-02-05 17:57:08 | NULL | NULL | utf8_general_ci | NULL | | | | images | InnoDB | 10 | Compact | 0 | 0 | 16384 | 0 | 32768 | 5242880 | 1 | 2016-02-05 17:57:08 | NULL | NULL | utf8_general_ci | NULL | | | | programs | InnoDB | 10 | Compact | 0 | 0 | 16384 | 0 | 32768 | 5242880 | 1 | 2016-02-05 17:57:08 | NULL | NULL | utf8_general_ci | NULL | | | | sounds | InnoDB | 10 | Compact | 0 | 0 | 16384 | 0 | 16384 | 5242880 | 1 | 2016-02-05 17:57:08 | NULL | NULL | utf8_general_ci | NULL | | | | users | InnoDB | 10 | Compact | 0 | 0 | 16384 | 0 | 0 | 5242880 | 1 | 2016-02-05 17:57:08 | NULL | NULL | utf8_general_ci | NULL | | | +---------------+--------+---------+------------+------+----------------+-------------+-----------------+--------------+-----------+----------------+---------------------+-------------+------------+-----------------+----------+----------------+---------+