Code

Opened 7 years ago

Closed 7 years ago

#4564 closed (invalid)

install under windows. Path and mysqldb problems

Reported by: georgefescos@… Owned by: jacob
Component: Documentation Version: master
Severity: Keywords:
Cc: Triage Stage: Unreviewed
Has patch: no Needs documentation: no
Needs tests: no Patch needs improvement: no
Easy pickings: UI/UX:

Description

When I tried to run python manage.py syncdb I got an error message about mysqldb package. Turns out it was not installed on my machine. I got it at http://sourceforge.net/projects/mysql-python/.

When I ran syncdb I get some questions about super user or something. You might want to address it in your tutorial.

As to the path this makepath.bat file is overkill but it is what I use.
path c:\python25\;%path%
path c:\python25\lib\;%path%
path C:\Python25\Lib\site-packages\django\bin\;%path%
path C:\Python25\Lib\site-packages\django\core\;%path%
path C:\Python25\Lib\site-packages\django\db\;%path%
path C:\Python25\Lib\site-packages\django\db\backends\mysql;%path%

Good luck and thanks GF

Attachments (0)

Change History (1)

comment:1 Changed 7 years ago by SmileyChris

  • Needs documentation unset
  • Needs tests unset
  • Patch needs improvement unset
  • Resolution set to invalid
  • Status changed from new to closed

Thanks for the report, George.

The installation docs clearly state "Additionally, you’ll need to make sure your Python database bindings are installed."

I'm not sure what you're trying to do with the path batch file but it's unnecessary. I suggest asking about it in the Django users discussion group.

Add Comment

Modify Ticket

Change Properties
<Author field>
Action
as closed
as The resolution will be set. Next status will be 'closed'
The resolution will be deleted. Next status will be 'new'
Author


E-mail address and user name can be saved in the Preferences.

 
Note: See TracTickets for help on using tickets.