Re: MYSQL Installation error

2011-09-26 Thread Ilian Iliev
Probably your MtSQL is not working, Try to telnet to this port to check
is it open and is something listening on it.

-- 
eng. Ilian Iliev
Web Software Developer

Mobile: +359 88 66 08 400
Website: http://ilian.i-n-i.org

On Mon, Sep 26, 2011 at 11:32 PM, PremAnand Lakshmanan
wrote:

> Im trying to install mysql and get the following error,
>
> Any idea on this error?
>
> >>> import pymysql
> >>> conn = pymysql.connect(host='localhost', port=3306, user='root',
> passwd=None
> , db='mysql')
> Traceback (most recent call last):
>   File "", line 1, in 
>   File "build\bdist.win32\egg\pymysql\__init__.py", line 72, in Connect
>   File "build\bdist.win32\egg\pymysql\connections.py", line 465, in
> __init__
>   File "build\bdist.win32\egg\pymysql\connections.py", line 607, in
> _connect
>   File "C:\Python27\lib\socket.py", line 224, in meth
> return getattr(self._sock,name)(*args)
> socket.error: [Errno 10061] No connection could be made because the target
> machi
> ne actively refused it
>
>  --
> You received this message because you are subscribed to the Google Groups
> "Django users" group.
> To post to this group, send email to django-users@googlegroups.com.
> To unsubscribe from this group, send email to
> django-users+unsubscr...@googlegroups.com.
> For more options, visit this group at
> http://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-users@googlegroups.com.
To unsubscribe from this group, send email to 
django-users+unsubscr...@googlegroups.com.
For more options, visit this group at 
http://groups.google.com/group/django-users?hl=en.



MYSQL Installation error

2011-09-26 Thread PremAnand Lakshmanan
Im trying to install mysql and get the following error,

Any idea on this error?

>>> import pymysql
>>> conn = pymysql.connect(host='localhost', port=3306, user='root',
passwd=None
, db='mysql')
Traceback (most recent call last):
  File "", line 1, in 
  File "build\bdist.win32\egg\pymysql\__init__.py", line 72, in Connect
  File "build\bdist.win32\egg\pymysql\connections.py", line 465, in __init__
  File "build\bdist.win32\egg\pymysql\connections.py", line 607, in _connect
  File "C:\Python27\lib\socket.py", line 224, in meth
return getattr(self._sock,name)(*args)
socket.error: [Errno 10061] No connection could be made because the target
machi
ne actively refused it

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



Re: mysql installation error

2011-09-21 Thread Thorsten Sanders
When I first installed django, that made me going crazy to try to 
install that library, in the end I just went with a pre-compiled from


http://www.lfd.uci.edu/~gohlke/pythonlibs/

On 21.09.2011 04:59, PremAnand Lakshmanan wrote:

Hi,
When I try to install mysql I get the following error,
Pls provide your inputs.

C:\MYSQL\MySQL-python-1.2.3\MySQL-python-1.2.3>python setup.py install
Traceback (most recent call last):
  File "setup.py", line 15, in 
metadata, options = get_config()
  File 
"C:\MYSQL\MySQL-python-1.2.3\MySQL-python-1.2.3\setup_windows.py", line 7

, in get_config
serverKey = _winreg.OpenKey(_winreg.HKEY_LOCAL_MACHINE, 
options['registry_ke

y'])
WindowsError: [Error 2] The system cannot find the file specified
--
You received this message because you are subscribed to the Google 
Groups "Django users" group.

To post to this group, send email to django-users@googlegroups.com.
To unsubscribe from this group, send email to 
django-users+unsubscr...@googlegroups.com.
For more options, visit this group at 
http://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-users@googlegroups.com.
To unsubscribe from this group, send email to 
django-users+unsubscr...@googlegroups.com.
For more options, visit this group at 
http://groups.google.com/group/django-users?hl=en.



Re: mysql installation error

2011-09-20 Thread Ivan Ivanov
First – It's not a Django question,

and second search, read, but try:
http://www.fuyun.org/2009/12/install-mysql-for-python-on-windows/

That was the second result I found :)

I hope, it is what you need, couse I don't use windows and cannot test
the problem and its solution.

Ivan

На Tue, 20 Sep 2011 22:59:30 -0400
PremAnand Lakshmanan  написа:

> Hi,
> 
> When I try to install mysql I get the following error,
> 
> Pls provide your inputs.
> 
> C:\MYSQL\MySQL-python-1.2.3\MySQL-python-1.2.3>python setup.py install
> Traceback (most recent call last):
>   File "setup.py", line 15, in 
> metadata, options = get_config()
>   File
> "C:\MYSQL\MySQL-python-1.2.3\MySQL-python-1.2.3\setup_windows.py",
> line 7 , in get_config
> serverKey = _winreg.OpenKey(_winreg.HKEY_LOCAL_MACHINE,
> options['registry_ke
> y'])
> WindowsError: [Error 2] The system cannot find the file specified
> 

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



mysql installation error

2011-09-20 Thread PremAnand Lakshmanan
Hi,

When I try to install mysql I get the following error,

Pls provide your inputs.

C:\MYSQL\MySQL-python-1.2.3\MySQL-python-1.2.3>python setup.py install
Traceback (most recent call last):
  File "setup.py", line 15, in 
metadata, options = get_config()
  File "C:\MYSQL\MySQL-python-1.2.3\MySQL-python-1.2.3\setup_windows.py",
line 7
, in get_config
serverKey = _winreg.OpenKey(_winreg.HKEY_LOCAL_MACHINE,
options['registry_ke
y'])
WindowsError: [Error 2] The system cannot find the file specified

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