Electronics & Programming

develissimo

Open Source electronics development and programming

  • You are not logged in.

#1 June 22, 2010 08:02:29

E.
Registered: 2009-11-02
Reputation: +  0  -
Profile   Send e-mail  

Django-Mysql


When installing Django-Mysql i get this error. I thought it was
because I didn't have setuptools. But now I downloaded it and
installed it. I am running windows 7 home basic. Here is all the apps
versions:

Django-1.2.1
MySQL-python-1.2.3
Python 2.6
mysql-5.5.3-m3-win32

This is the error I get:

setup_windows.py", line 7, in get_config
serverKey = _winreg.OpenKey(_winreg.HKEY_LOCAL_MACHINE,
options)
WindowsError: The system cannot find the file specified


Any reply would be appreciated.


Regards
Eduan Bekker

--
You received this message because you are subscribed to the Google Groups
"Django users" group.
To post to this group, send email to django-us...@googlegroups.com.
To unsubscribe from this group, send email to
django-users+unsubscr...@googlegroups.com.
For more options, visit this group athttp://groups.google.com/group/django-users?hl=en.

Offline

#2 June 22, 2010 10:42:39

e.
Registered: 2009-11-02
Reputation: +  0  -
Profile   Send e-mail  

Django-Mysql


Do you absolutely need to use MySQL? I've found for development that
sqlite is the most hassle-free. I use OS X for development at home and
it is the easiest option. The only drawback is that if you have
multiple clients accessing the DB you can get locking issues. If it's
just you, then you're sorted.

I once installed Django with MySQL on Windows and know I had to mess
around a fair bit to get it to work, but that was quite a while ago.

Good luck, Euan

On Jun 22, 8:02 am, Eduan <bekker.ed...@gmail.com> wrote:
> When installing Django-Mysql i get this error. I thought it was
> because I didn't have setuptools. But now I downloaded it and
> installed it. I am running windows 7 home basic. Here is all the apps
> versions:
>
> Django-1.2.1
> MySQL-python-1.2.3
> Python 2.6
> mysql-5.5.3-m3-win32
>
> This is the error I get:
>
> setup_windows.py", line 7, in get_config
> serverKey = _winreg.OpenKey(_winreg.HKEY_LOCAL_MACHINE,
> options)
> WindowsError: The system cannot find the file specified
>
> Any reply would be appreciated.
>
> Regards
> Eduan Bekker

--
You received this message because you are subscribed to the Google Groups
"Django users" group.
To post to this group, send email to django-us...@googlegroups.com.
To unsubscribe from this group, send email to
django-users+unsubscr...@googlegroups.com.
For more options, visit this group athttp://groups.google.com/group/django-users?hl=en.

Offline

#3 June 22, 2010 13:17:37

Sells, F.
Registered: 2009-11-02
Reputation: +  0  -
Profile   Send e-mail  

Django-Mysql


I had no problem configuring it under CentOs, have not tried Windows (yet) but
here's my settings file

DATABASES = {
'default': {
'ENGINE': 'django.db.backends.mysql',
'NAME': 'mds30',
'USER': '', # Not used
'PASSWORD': '', # Not used
'HOST': '', # Set to empty string for localhost.
Not used with sqlite3.
'PORT': '', # Set to empty string for default. Not
used with sqlite3.
}
}

I did create the database manually; no big deal.

-----Original Message-----
From: django-users@googlegroups.com On
Behalf Of euan.godd...@googlemail.com
Sent: Tuesday, June 22, 2010 5:43 AM
To: Django users
Subject: Re: Django-Mysql

Do you absolutely need to use MySQL? I've found for development that
sqlite is the most hassle-free. I use OS X for development at home and
it is the easiest option. The only drawback is that if you have
multiple clients accessing the DB you can get locking issues. If it's
just you, then you're sorted.

I once installed Django with MySQL on Windows and know I had to mess
around a fair bit to get it to work, but that was quite a while ago.

Good luck, Euan

On Jun 22, 8:02 am, Eduan <bekker.ed...@gmail.com> wrote:
> When installing Django-Mysql i get this error. I thought it was
> because I didn't have setuptools. But now I downloaded it and
> installed it. I am running windows 7 home basic. Here is all the apps
> versions:
>
> Django-1.2.1
> MySQL-python-1.2.3
> Python 2.6
> mysql-5.5.3-m3-win32
>
> This is the error I get:
>
> setup_windows.py", line 7, in get_config
> serverKey = _winreg.OpenKey(_winreg.HKEY_LOCAL_MACHINE,
> options)
> WindowsError: The system cannot find the file specified
>
> Any reply would be appreciated.
>
> Regards
> Eduan Bekker

--
You received this message because you are subscribed to the Google Groups
"Django users" group.
To post to this group, send email to django-us...@googlegroups.com.
To unsubscribe from this group, send email to
django-users+unsubscr...@googlegroups.com.
For more options, visit this group athttp://groups.google.com/group/django-users?hl=en.


--
You received this message because you are subscribed to the Google Groups
"Django users" group.
To post to this group, send email to django-us...@googlegroups.com.
To unsubscribe from this group, send email to
django-users+unsubscr...@googlegroups.com.
For more options, visit this group athttp://groups.google.com/group/django-users?hl=en.

Offline

#4 June 23, 2010 10:36:33

E.
Registered: 2009-11-02
Reputation: +  0  -
Profile   Send e-mail  

Django-Mysql


Thanks to everyone that replied. I got an friend that knows more about
these stuff and he fixed it. Not sure how

--
You received this message because you are subscribed to the Google Groups
"Django users" group.
To post to this group, send email to django-us...@googlegroups.com.
To unsubscribe from this group, send email to
django-users+unsubscr...@googlegroups.com.
For more options, visit this group athttp://groups.google.com/group/django-users?hl=en.

Offline

Board footer

Moderator control

Enjoy the 16th of December
PoweredBy

The Forums are managed by develissimo stuff members, if you find any issues or misplaced content please help us to fix it. Thank you! Tell us via Contact Options
Leave a Message
Welcome to Develissimo Live Support