Bug or problem in mysql DB - table vicidial_lists

All installation and configuration problems and questions

Moderators: gerski, enjay, williamconley, Op3r, Staydog, gardo, mflorell, MJCoate, mcargile, Kumba, Michael_N

Bug or problem in mysql DB - table vicidial_lists

Postby phil_discount » Wed Sep 02, 2009 12:47 pm

Hello guys,

I've found out a problem with mysql db and odbc connection.
when you connect the db using odbc, you allways getting in each row "#DELETED" because the vicidial_lists table has got a BIGINT unique field.

it's a known bug or problem.

now my question, because i need the table...

can i insert a new field like "ID" with autoincrement/integer value as first field in the table?

regards
philip
phil_discount
 
Posts: 468
Joined: Thu Jun 18, 2009 8:44 am
Location: Deutschland/Schweiz/Österreich

Postby phil_discount » Wed Sep 02, 2009 12:54 pm

i make some tests.

1. change the "list_id" field from bigint to int
or
2. add a field with a unique/primary key at last and i have to remove unique/primary key in the field "list_id"...

can i do this?
phil_discount
 
Posts: 468
Joined: Thu Jun 18, 2009 8:44 am
Location: Deutschland/Schweiz/Österreich

Postby heinz » Wed Sep 02, 2009 2:13 pm

Hi,
I would say you could do try both ways.
Changing BIGINT to INT shouldn't cause too much trouble.

If you add a field at the end shouldn't be a problem either. Don't put in the front though. Removing the primary key from the list_id is dangerous because it can crash the system if you have multiple list_id entries. But you could try it...

Anyway I wouldn't recommend to do it on a productive system.

Thanks,
heinz
heinz
 
Posts: 106
Joined: Mon Oct 08, 2007 1:30 am
Location: South Africa

Postby phil_discount » Wed Sep 02, 2009 2:44 pm

i've got no choice...i think i try to change from bigint to int.
it's a testsystem but only for one week then we start outbound with vicidial.

thanks!
phil_discount
 
Posts: 468
Joined: Thu Jun 18, 2009 8:44 am
Location: Deutschland/Schweiz/Österreich

Postby mflorell » Fri Sep 04, 2009 12:46 pm

We have a lot of clients using ODBC every day with ViciDial systems and have never heard of this problem. What DB are you using?
mflorell
Site Admin
 
Posts: 18406
Joined: Wed Jun 07, 2006 2:45 pm
Location: Florida

Postby phil_discount » Sat Sep 05, 2009 5:44 am

it seem's to work fine with INT instead of BIGINT. i'm using mysql.
standard vicidialnow installation
it's a problem of microsoft access, it doesn't know the type BIGINT
http://bugs.mysql.com/bug.php?id=12389
phil_discount
 
Posts: 468
Joined: Thu Jun 18, 2009 8:44 am
Location: Deutschland/Schweiz/Österreich

Postby williamconley » Sat Sep 05, 2009 10:37 pm

so it's not a problem of ODBC ... it's a problem of microsoft ACCESS, the "mini-database" app that some of us DOSheads use.

do you have the ability to use some other software to interface with mysql and "interpret" for ACCESS? (MSSQL? SQLExpress? anything)

do a quick database dump, change to int and let her rip ... you can always put it back. BUT watch the 4294967295 record limit (i don't think you'll hit it TODAY, but given the fact that this system may still be online next year, and you delete old records and add new ... the recordid value may actually get there ... i've got a couple systems that would get there THIS year ...)
Vicidial Installation and Repair, plus Hosting and Colocation
Newest Product: Vicidial Agent Only Beep - Beta
http://www.PoundTeam.com # 352-269-0000 # 888-883-8488 # +44(203) 769-2294
williamconley
 
Posts: 20427
Joined: Wed Oct 31, 2007 4:17 pm
Location: Bartow, FL (In the boondocks)

Postby phil_discount » Mon Sep 07, 2009 2:40 am

Thanks,
mysql ist very good, cheap and quick.
only vicidial_list and vicidial_lists are changed
so i will create a security query in front of the import of new addresses...

when the limit is reached i can export the old addresses in a backup and set back the counter to 1

i thinks thats okay or not?
phil_discount
 
Posts: 468
Joined: Thu Jun 18, 2009 8:44 am
Location: Deutschland/Schweiz/Österreich


Return to Support

Who is online

Users browsing this forum: No registered users and 93 guests