CodeCharge Studio
search Register Login  

Visual Web Reporting

Visually create Web Reports in PHP, ASP, .NET, Java, Perl and ColdFusion.
CodeCharge.com

YesSoftware Forums -> CodeCharge Studio -> General/Other

 Problem with MySQL ODBC Connection

Print topic Send  topic

Author Message
sweiss

Posts: 22
Posted: 02/03/2005, 4:46 AM

Hi,

i have a problem connection from CCS to MySQL via ODBC on a new Workstation:

XP Pro
local MySQL 4.1.8
I tried MyODBC-3.51.10-2 and MyODBC-3.51.10

with both versions i can create a ODBC-Connection, Test says everything is ok, ODBC-Connection from Office programs (i. E. Excel, Acccess) is ok.

If i try to setup a Connection in CCS i get a errormessage:

Access denied for User "@'%' to database 'my_database'

Any Idea?

Regards

Stefan
View profile  Send private message
peterr


Posts: 5971
Posted: 02/03/2005, 10:57 AM

Did you enter a login and password in CCS connection dialog? If so, try removing it.
_________________
Peter R.
YesSoftware Forums Moderator
For product support please visit http://support.yessoftware.com
View profile  Send private message
sweiss

Posts: 22
Posted: 02/04/2005, 1:05 AM

Hello Peter,

i tried both. I tried to setup the connection new.

On the Design Tab - i check "Use ODBC Datasource Name", on the Server Tab i setup the Connection Data for the Server. This is a older Project, i tried to generate the Files an they are running fine but i cannot create new Pages (PHP).

Help please

Stefan

View profile  Send private message
peterr


Posts: 5971
Posted: 02/04/2005, 11:35 AM

This could mean that the acess is denied from this computer (although maybe not from the server).
Unfortunately I don't have ideas why this doesn't work, but possibly this could help: http://www.google.com/search?hl=en&q=mysql+%22Access+denied+for+User%22
_________________
Peter R.
YesSoftware Forums Moderator
For product support please visit http://support.yessoftware.com
View profile  Send private message
sweiss

Posts: 22
Posted: 02/06/2005, 11:33 PM

Hello Peter,

this is a problem from CCS, because i can connect from the same machine with any other program. F. E. Excel, Access!

Any idea?

Stefan
View profile  Send private message
peterr


Posts: 5971
Posted: 02/06/2005, 11:43 PM

Sorry I don't have ideas, but hopefully either Google or our support can help with this.
_________________
Peter R.
YesSoftware Forums Moderator
For product support please visit http://support.yessoftware.com
View profile  Send private message
Nicole

Posts: 586
Posted: 02/07/2005, 2:45 AM

Hello,
Please note that when you moved to MySQL4.1 the database passwords were changed. Please check your project settings (both Design time and Server side) to make sure database password is updated there too.

_________________
Regards,
Nicole
View profile  Send private message
sweiss

Posts: 22
Posted: 02/07/2005, 2:58 AM

Ok,

no i have a solution. I've changed the connection type in the Design to 'Use Connection String'

Provider=MSDASQL.1;Persist Security Info=False;Data Source=mydatabase

without username and password - now it works.

Stefan
View profile  Send private message

Add new topic Subscribe to topic   


These are Community Forums for users to exchange information.
If you would like to obtain technical product help please visit http://support.yessoftware.com.

MS Access to Web

Convert MS Access to Web.
Join thousands of Web developers who build Web applications with minimal coding.

CodeCharge.com

Home   |    Search   |    Members   |    Register   |    Login


Powered by UltraApps Forum created with CodeCharge Studio
Copyright © 2003-2004 by UltraApps.com  and YesSoftware, Inc.