¾È³çÇϼ¼¿ä, HappyCGI ÆÀÀÇ voposÀÔ´Ï´Ù.
¸î°¡Áö ¹æ¹ýÀÌ Àִµ¥ ÇÑ°¡Áö¸¦ ¿¹¸¦ µé¾î ¼³¸íµå¸®°Ú½À´Ï´Ù.
Ãß°¡ÇÒ »ç¿ëÀÚ id: userid Æнº¿öµå: pass »ç¿ëÇÒ database À̸§: mydb
* root·Î MySQL ¼¹ö·Î ·Î±×ÀÎÇÕ´Ï´Ù. shell> mysql --user=root mysql
* "mysql" DB¿¡ ÀÖ´Â "user" Å×ÀÌºí¿¡ ¾ÆÀ̵ð¿Í Æнº¿öµå¸¦ ³Ö½À´Ï´Ù. mysql> INSERT INTO user (Host,User,Password) VALUES('localost','userid','pass'); mysql> FLUSH PRIVILEGES;
http://www.mysql.com/doc/P/a/Passwords.html
* userid¿¡°Ô mydb µ¥ÀÌŸº£À̽º¿¡ ´ëÇÑ ±ÇÇÑÀ» ÁÝ´Ï´Ù. mysql> GRANT SELECT,INSERT,UPDATE,DELETE,CREATE,DROP ON mydb.* TO userid@localhost IDENTIFIED BY 'pass'; mysql> FLUSH PRIVILEGES;
http://www.mysql.com/doc/A/d/Adding_users.html
¸µÅ©µÈ ¸Þ´º¾ó¿¡ ´Ù¸¥ ¹æ¹ý¿¡ ´ëÇÑ »ó¼¼ÇÑ ³»¿ëÀÌ ³ª¿ÍÀÖÀ¸´Ï Âü°íÇÏ½Ã¸é µµ¿òÀÌ µÉ°Ì´Ï´Ù. °¨»çÇÕ´Ï´Ù.
- vopos
/---------------------------------------------------------------------------------------------------- ÀÚÁÖ¹¯´Â Áú¹® Æ÷·³°ú Æ÷·³°Ë»öÀ» ÀÌ¿ëÇϼż ºñ½ÁÇÑ Áú¹®ÀÇ ´äº¯ÀÌ ÀÖ´ÂÁö È®ÀÎÇÏ½Ã°í ±Û ¿Ã·ÁÁÖ½Ã±æ ºÎŹµå¸³´Ï´Ù. ----------------------------------------------------------------------------------------------------/
|