Django with Mysql

1. Make DB

namjelee@server# mysql -u root -p

mysql> create database djangodb
mysql> GRANT ALL PRIVILEGES ON djangodb.* TO db_user_id@'localhost' IDENTIFIED BY 'password' WITH GRANT OPTION;

2. Validate

namjelee@server# python manage.py validate

참조: http://uswaretech.com/blog/2009/03/django-with-mysql-and-apache-on-ec2/

Leave a Reply

 

 

 

You can use these HTML tags

<a href="" title=""> <abbr title=""> <acronym title=""> <b> <blockquote cite=""> <cite> <code> <del datetime=""> <em> <i> <q cite=""> <strike> <strong>