Hi everybody... I need connect django with sql anywhere 11 database, i follow the instructions on the page "SQL Anywhere Django Driver" from github. I created the database with this command
I started the Database Server with command
I created my project with
I edit the file
The problem is, when I want sync database using this command
I get Please help me, I don't know how resolve this problem Even I test the connection with a file (
I, get get the expected output:
I have an environment for test with this caracteristics
Here is the complete text about this error
|
The problem is this line:
The '2638' should be the name of your server, which judging by your test_sqlany.py file should be "django". Replace it with:
Hi, Graeme Perrow thanks for the answer. I, replaced
with
but another error raised
I, check this thousands of times and I, can't see the error Here is the complete text about this error
(14 Apr '14, 23:56)
Elio Clímaco...
Replies hidden
'PORT': '2638', <= that comma is unnecessary
(15 Apr '14, 03:02)
Martin
3
The fact that you're getting an error from opening a cursor means that the connection succeeded. The syntax error is in your SQL query.
(15 Apr '14, 08:47)
Graeme Perrow
|