Help us understand the problem. What is going on with this article?

MariaDBを使い始めようと思うのでメモ

More than 1 year has passed since last update.

今は趣味で構築しているサイトでSQLiteを使っているのですが、いろいろな理由からMariaDBに移行しようと思います。
そのためのメモです。
あくまでも個人的なメモのため、くだらない記事を読んだと怒らないようにお願いします。

インストール

https://server.etutsplus.com/centos-7-mariadb-install-and-mysql-secure-installation/

コマンド集

https://qiita.com/pugiemonn/items/247dccb6dc56e373ba92

Entity Framework Core

MySQLのやつを使えばOK
MySql.Data.EntityFrameworkCore
https://www.nuget.org/packages/MySql.Data.EntityFrameworkCore/

接続文字列

"Server=localhost;Uid=root;Pwd=XXXX;Database=testdb;"

http://phpjavascriptroom.com/?t=mysql&p=columntype

AUTO_INCREMENT

https://dev.mysql.com/doc/refman/5.6/ja/example-auto-increment.html
AUTO_INCREMENTの値を変える
https://mayer.jp.net/?p=4997

lower_case_table_names

Linuxにインストールした場合、デフォルトでテーブル名の大文字小文字を区別する。
区別したくなければ設定を変更する。(lower_case_table_names)
https://moznion.hatenadiary.com/entry/2015/04/13/005641
設定を変更する前に作ってしまったデータベースは作り直さないといけない。
https://dev.mysql.com/doc/refman/5.6/en/identifier-case-sensitivity.html

Why not register and get more from Qiita?
  1. We will deliver articles that match you
    By following users and tags, you can catch up information on technical fields that you are interested in as a whole
  2. you can read useful information later efficiently
    By "stocking" the articles you like, you can search right away
Comments
Sign up for free and join this conversation.
If you already have a Qiita account
Why do not you register as a user and use Qiita more conveniently?
You need to log in to use this function. Qiita can be used more conveniently after logging in.
You seem to be reading articles frequently this month. Qiita can be used more conveniently after logging in.
  1. We will deliver articles that match you
    By following users and tags, you can catch up information on technical fields that you are interested in as a whole
  2. you can read useful information later efficiently
    By "stocking" the articles you like, you can search right away