21
Дек
0

Mysql начало

Установка MySQL сервера:

# yum -y install mysql-server

Устанавливаем пароль для root:

# /usr/bin/mysqladmin -u root password ‘passwd’

Подключаемя к БД : # mysql -u root -p

Шаблоны с типичными настройками:

/usr/share/doc/mysql-server-x.x.xx/my-huge.cnf 

/usr/share/mysql/my-large.cnf 

….

/etc/my.cnf 

[mysqld]

default-character-set=utf8
character-set-server=utf8
collation-server=utf8_general_ci
init-connect=»SET NAMES utf8″

Enjoyed reading this post?
Subscribe to the RSS feed and have all new posts delivered straight to you.

Comments are closed.

Celadon theme by the Themes Boutique