Ȩ | ·Î±×ÀÎ | ¸¶ÀÌÆäÀÌÁö | ȸ»ç¼Ò°³ | °í°´¼¾ÅÍ | »çÀÌÆ®¸Ê | ¸®¼¿·¯Á¦ÈÞ | ¼Ö·ç¼Ç
ÄÚ¸®¾ÆÈ£½ºÆÃ

       ns1.koreahosting.org
       211.39.130.6
       ns2.koreahosting.org
       211.39.130.7

  ±Ù¹«½Ã°£¿Ü¿¡ ¹®ÀÇ»çÇ×Àº
  ¾Æ·¡ÀÇ1:1 »ó´ã¹®ÀǸ¦
  ÀÌ¿ëÇϽñ⠹ٶø´Ï´Ù.
 
 
ÀÛ¼ºÀÏ :2008-07-26 Á¶È¸ : 540126
my-sql
¾È³çÇϽʴϱî. ÄÚ¸®¾ÆÈ£½ºÆÃÀÔ´Ï´Ù.

È®ÀÎÇغ»°á°ú Æнº¿öµå°¡ µé¾î°£ »óÅÂÀÔ´Ï´Ù.

¿ÜºÎ¼­¹ö Á¢¼Ó½Ã´Â

create database db¸í;
grant all privileges on db¸í.*
to »ç¿ëÀÚ@"%" identified by 'ºñ¹ø'; #¸ðµç°÷¿¡¼­ Á¢¼ÓÇã¿ëÀÇ °Ü¿ì

°¨»çÇÕ´Ï´Ù.
---------


¶ó°í ´äº¯À» Á̴ּµ¥¿ä


#mysql -u root
·Î Á¢¼ÓÇÏ¿©
create daatabase µðºñ¸í;
Çϸé
ERROR 1045 (28000): Access denied for user 'root'@'localhost' (using password: YES)

¶ó°í ³ª¿É´Ï´Ù.

root·Î mysql¿¡ Á¢¼ÓÇÏ¿© ¸í·ÉÀ» ¼öÇàÇϸé(ºñ¹Ð¹øÈ£ º¯°æ,grant,create database)

error 1044,1045°¡ ¶å´Ï´Ù.

¾î¶»°Ô ÇØ°áÇØ¾ß ÇÏ´ÂÁö ¾Ë·ÁÁֽñâ¹Ù¶ó¸ç,

¿Ö mysql À̶ó´Â db°¡ Á¸ÀçÇÏÁö ¾Ê´ÂÁöµµ ±Ã±ÝÇÕ´Ï´Ù.
´äº¯ :
¾È³çÇϽʴϱî. ÄÚ¸®¾ÆÈ£½ºÆÃÀÔ´Ï´Ù.

ERROR 1045 (28000): Access denied for user 'root'@'localhost' (using password: YES)


mysql Æнº°¡ ´Þ¶ó¼­ ³ª´Â ¿¡·¯ ¹®±¸ÀÔ´Ï´Ù. Á¢¼ÓÀÌ Á¦´ë·Î ÀÌ·ç¾îÁöÁö ¾ÊÀ¸½Å »óÅÂÀÎ°Í °°½À´Ï´Ù.

Æнº¿öµå¸¦ ¸ð¸£½Ã¸é ÃʱâÈ­ÇÏ¼Å¾ß µÇ´Â »óÅÂÀÌ½Å°Í °°½À´Ï´Ù.
1. µ¥¸óÁ¤Áö

/usr/local/mysql/bin/mysqladmin shutdown --user=root -p

2. µ¥¸ó½ÃÀÛ

#/usr/local/mysql/bin/mysqld_safe --user=rootl --skip-grant-tables &

3. Æнº¿öµå º¯°æ

mysql -u root mysql (mysqlDB¸¦ ¼±ÅÃÇؼ­) or mysql -uroot

update user set password=PASSWORD('new')

where user='root';

flush privileges;

4. ÁßÁö Àç½ÃÀÛ

./mysqladmin -uroot -p shutdown

/usr/local/mysql/bin/mysqld_safe --user=root &