hosted by liquidweb

Go Back   Web Hosting Talk : Web Hosting Main Forums : Hosting Security and Technology : Servlets JDBC connetion with MySql

Forum Jump

Servlets JDBC connetion with MySql

Reply Post New Thread In Hosting Security and Technology Subscription
Send news tip View All Posts Thread Tools Search this Thread Display Modes
New Member
Join Date: Feb 2001
Location: Spain
Posts: 2
I'm trying to connect to mysql with a java servlet. I get the mesage below:

java.sql.SQLException: Invalid authorization specification: Access denied for user: 'user@host' (Using password: YES) at

I don't Know how I could solve this problem.


Sponsored Links
Web Hosting Master
Join Date: Aug 2000
Posts: 2,750
Are you using the right login and password for the mysqldbase? and dbhost is usually localhost.

The Php Support Desk
Custom programming - kunal @ - Ping!Zine. the FREE, FRESH and EXCITING Web Hosting Magazine...

New Member
Join Date: Feb 2001
Location: Spain
Posts: 2

Thanks for your answer, I'm using the username and password, and databese name I use to connect via telnet to my mysql database. What I don't know if the port I'm triyin to connect is correcctly configure to accecp my connection. How I could know if is properly configured?.



Sponsored Links
Web Hosting Master
Join Date: Jan 2001
Posts: 578

I was having exactly the same problem, My servlet engine was mod jserv of apache.

Inspite of the mm.jdbc driver being in proper classpath i had this prob. Then what i did was just put the entire mm.jdbc drv into the servlets folder of the virtual host.

Then it somehow just started.

If i echoed classpath than it was showing the same in classpath even earlier,

Though this is not the right method to do it. But it works for me as of now, i have no logical reason to it though

Manish Kapadia


Related posts from
Title Type Date Posted
CloudLinux Releases Software for Web Hosts to Set Limits on Accounts Running MySQL Web Hosting News 2015-01-26 14:42:26
Tesora's OpenStack DBaaS Supports MongoDB, Cassandra, Redis, and MySQL Web Hosting News 2014-05-23 14:53:11
Google Releases Hosted Database Service Cloud SQL to General Availability Web Hosting News 2014-02-12 13:46:02
Google Cloud Provides Support For Native MySQL Connections Web Hosting News 2013-11-01 14:36:06
PHP And MySQL Scaling: Preparing A Startup For Growth Blog 2014-04-24 13:27:35

Thread Tools Search this Thread
Search this Thread:

Advanced Search
Display Modes
Postbit Selector

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is Off
HTML code is Off

Forum Jump
Log in with your username and password

Forgot Password?
WHT Host Brief Email:

We respect your privacy. We will never sell, rent, or give away your address to any outside party, ever.

Web Hosting News:
WHT Membership
WHT Membership



Welcome to

Create your username to jump into the discussion! is the largest, most influentual web hosting community on the Internet. Join us by filling in the form below.

(4 digit year)

Already a member?