๋งค๋ด์ผ:MySQL
MySQL๊ณผ MariaDB ๋ฐ์ดํฐ๋ฒ ์ด์ค ์์ง์ ๋ฏธ๋์ด์ํค์ ๊ฐ์ฅ ํํ ์ฐ์ด๋ ๋ฐ์ดํฐ๋ฒ ์ด์ค ๋ฐฑ์๋์ ๋๋ค. MariaDB๋ ์น์ฌ์ดํธ์ ์ํค๋ฏธ๋์ด ์ฌ๋จ ์ํค ํ์ ์ฐ์ด๋ ๊ด๊ณํ ๋ฐ์ดํฐ๋ฒ ์ด์ค ๊ด๋ฆฌ ์์คํ ์ด๋ฏ๋ก ๋ฏธ๋์ด์ํค์์ ์ ์ง์๋ฉ๋๋ค. Much of the advice for MySQL and for MariaDB apply to each other.
See Compatibility#Database for a list of supported versions.
MySQL ๋๋ MariaDB์ ์ฐ๊ฒฐํ๊ธฐ
mysql -u wikiuser -p my_wiki
Change wikiuser and my_wiki to the username and database name for your wiki ($wgDBuser
and $wgDBname
).
When prompted, enter your password.
Example
$ mysql -u root -p my_wiki
Enter password:
Reading table information for completion of table and column names
You can turn off this feature to get a quicker startup with -A
Welcome to the MySQL monitor. Commands end with ; or \g.
Your MySQL connection id is 150
Server version: 5.6.24-0ubuntu2 (Ubuntu)
...
Type 'help;' or '\h' for help. Type '\c' to clear the current input statement.
mysql>.
์ค์น
- For further information, see ๋งค๋ด์ผ:๋ฏธ๋์ด์ํค ์ค์น#๋ฐ์ดํฐ๋ฒ ์ด์ค ๋ง๋ค๊ธฐ
๊ธฐ๋ณธ์ ์ผ๋ก MySQL์ด๋ MariaDB๊ฐ ์ค์น๋์ด ์๋ค๋ฉด ์ค์น ์คํฌ๋ฆฝํธ๋ฅผ ํตํด ๋ฐ์ดํฐ๋ฒ ์ด์ค๋ฅผ ์์ฑํ ์ ์์ต๋๋ค. ๊ฐ๋จํ ์คํฌ๋ฆฝํธ์ mysql ๋ฃจํธ ๋น๋ฐ๋ฒํธ๋ฅผ ์ง์ ํ์ญ์์ค. (๊ธฐ๋ณธ๊ฐ์ ๋น์ด์์)
์ ๋น
์ฌ๋ฌ ์ ๋น์ฉ ์คํฌ๋ฆฝํธ๊ฐ ๋ฏธ๋์ด์ํค ์ค์น๋ณธ์ /maintenance/
๋๋ ํฐ๋ฆฌ์ ํฌํจ๋์ด ์์ต๋๋ค.
์ด ์คํฌ๋ฆฝํธ ์ค ์ผ๋ถ๋ ๋จ์ผ์ฑ ์์
์ผ๋ก ๋ฐ์ดํฐ๋ฒ ์ด์ค์ ์ผ๋ถ๋ฅผ ๊ฐฑ์ ํ๊ธฐ ์ํด ์ ๊ณต๋ฉ๋๋ค.
๋ฐ์ดํฐ๋ฒ ์ด์ค ๊ฐ์ ธ์ค๊ธฐ
- For further information, see Manual:Importing XML dumps
๋ฐ์ดํฐ๋ฒ ์ด์ค ๋ด๋ณด๋ด๊ธฐ
- For further information, see ๋งค๋ด์ผ:์ํค๋ฅผ ๋ฐฑ์ ํ๋ ๋ฒ
๊ฐ์ด ๋ณด๊ธฐ
- Manual:MysqlUpdater.php
- ๋งค๋ด์ผ:๋ณด์#์ผ๋ฐ MySQL ๊ถ๊ณ
- Tool to convert SQLite MediaWiki database into MySQL