User Name Password Register
DaniWeb IT Discussion Community
All
What is DaniWeb IT Discussion Community?
You're currently browsing the MySQL section within the Web Development category of DaniWeb, a massive community of 426,441 software developers, web developers, Internet marketers, and tech gurus who are all enthusiastic about making contacts, networking, and learning from each other. In fact, there are 2,257 IT professionals currently interacting right now! Registration is free, only takes a minute and lets you enjoy all of the interactive features of the site.
Please support our MySQL advertiser: Programming Forums
Views: 6432 | Replies: 3
Reply
Join Date: May 2005
Posts: 1
Reputation: uma is an unknown quantity at this point 
Rep Power: 0
Solved Threads: 0
uma uma is offline Offline
Newbie Poster

powerbuilder+mysql

  #1  
May 17th, 2005
hi,everyone
my name uma,I use powerbuilder with mysql and have some problem.I have a table that have 2 primary key first a character and second a numeric.I create a datawindow that has 2 argument(primary key) for retrieve data.if second argument(numeric) has value more than 9 the datawindow can't retrieve data.I don't know why?who can help me? thank you. :cry:
AddThis Social Bookmark Button
Reply With Quote  
Join Date: Aug 2005
Posts: 1
Reputation: lambert is an unknown quantity at this point 
Rep Power: 0
Solved Threads: 0
lambert lambert is offline Offline
Newbie Poster

Re: powerbuilder+mysql

  #2  
Aug 15th, 2005
Hello Uma,
I have the same problem. I am working with Powerbuilder 8 and 10 with MySQL 5.0.4 with MyODBC 3.51.12 (the latest, still in test) By the way, this version of MyODBC solves a problem in Powerbuilder 10 with the datatype TIME, in Powerbuilder 8 you don't have that problem.

The only workaround that I found out for the retrieve problem is to change the retrieval argument from number to string, the retrieves are now going fine. I am not happy with the solution, but it works.

By the way I don't know how to find a way to let Powerbuilder know when in the database a column has datatype Decimal that it is a decimal and not a char() and the datatype Text is for Powerbuilder a char(-1). :cry:

Do you have the same problem?

Greetings Steven


Originally Posted by uma
hi,everyone
my name uma,I use powerbuilder with mysql and have some problem.I have a table that have 2 primary key first a character and second a numeric.I create a datawindow that has 2 argument(primary key) for retrieve data.if second argument(numeric) has value more than 9 the datawindow can't retrieve data.I don't know why?who can help me? thank you. :cry:
Reply With Quote  
Join Date: Nov 2005
Posts: 1
Reputation: raulaisleen is an unknown quantity at this point 
Rep Power: 0
Solved Threads: 0
raulaisleen raulaisleen is offline Offline
Newbie Poster

Re: powerbuilder+mysql

  #3  
Nov 6th, 2005
By the way I don't know how to find a way to let Powerbuilder know when in the database a column has datatype Decimal that it is a decimal and not a char() and the datatype Text is for Powerbuilder a char(-1).


Try this:

ls_type = dw_1.describe(ls_col1 + '.Coltype')

ls_type can be:

'number'
'char'
'decimal'
...


Try to see help for more. HOpe this helps.


By the way i also has a problem connecting to mysql for my first time.

I am using PB 6.5 with Sybase as my BackEnd, I am trying to use and connect to MySQL Server but got an error "[MySQL AB][MyODBC]ERROR : Client does not support authentication protocol requested by server;
consider upgrading MySQL client " during ODBC connection, does someone encounter the same error message? What do you mean by that error. Please enlighten my mind.
I am very much open for any suggestion or ideas, please help!

Thanks,
Raul
Reply With Quote  
Join Date: Jul 2006
Posts: 1
Reputation: last is an unknown quantity at this point 
Rep Power: 0
Solved Threads: 0
last last is offline Offline
Newbie Poster

Re: powerbuilder+mysql

  #4  
Jul 13th, 2006
Hi.

I have the same problem, with an argument. Only change the column datatype to decimal. I'm using pb10

Bye.


Originally Posted by raulaisleen
Try this:

ls_type = dw_1.describe(ls_col1 + '.Coltype')

ls_type can be:

'number'
'char'
'decimal'
...


Try to see help for more. HOpe this helps.


By the way i also has a problem connecting to mysql for my first time.

I am using PB 6.5 with Sybase as my BackEnd, I am trying to use and connect to MySQL Server but got an error "[MySQL AB][MyODBC]ERROR : Client does not support authentication protocol requested by server;
consider upgrading MySQL client " during ODBC connection, does someone encounter the same error message? What do you mean by that error. Please enlighten my mind.
I am very much open for any suggestion or ideas, please help!

Thanks,
Raul
Reply With Quote  
Reply

Only community members can participate in forum threads. You must register or log in to contribute.

DaniWeb MySQL Marketplace
Currently Active Users Viewing This Thread: 1 (0 members and 1 guests)

 

Thread Tools Display Modes

Similar Threads
Other Threads in the MySQL Forum

All times are GMT -4. The time now is 2:47 pm.
Forum system based on vBulletin Copyright ©2000 - 2008, Jelsoft Enterprises Ltd.
©2003 - 2008 DaniWeb® LLC