hosted by liquidweb


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

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
  #1  
Old 02-23-2001, 09:12 PM
Joan Joan is offline
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 org.gjt.mm.mysql.MysqlIO.init(MysqlIO.java:278)

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

Thanks
Joan



Sponsored Links
  #2  
Old 02-24-2001, 12:16 AM
kunal kunal is offline
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
http://www.phpsupportdesk.com
Custom programming - kunal @ e-phoria.com
http://www.pingzine.com - Ping!Zine. the FREE, FRESH and EXCITING Web Hosting Magazine...

  #3  
Old 02-24-2001, 08:30 AM
Joan Joan is offline
New Member
 
Join Date: Feb 2001
Location: Spain
Posts: 2
Smile

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?.

Thanks

Joan

Sponsored Links
  #4  
Old 03-06-2001, 02:41 AM
mpkapadia mpkapadia is offline
Web Hosting Master
 
Join Date: Jan 2001
Posts: 572
Joan,

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

Rgds
Manish Kapadia
Bombay-India

Reply

Related posts from TheWhir.com
Title Type Date Posted
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
Web Hosting Sales and Promos Roundup - September 20, 2013 Web Hosting News 2013-09-20 18:35:29
PHP And MySQL Scaling: Preparing A Startup For Growth Blog 2013-08-19 12:25:00
UK Cloud Host ElasticHosts Launches Cloud Sites, Managed Cloud Servers Web Hosting News 2012-05-03 13:24:34


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
Login:
Log in with your username and password
Username:
Password:



Forgot Password?
Advertisement:
Web Hosting News:



 

X

Welcome to WebHostingTalk.com

Create your username to jump into the discussion!

WebHostingTalk.com 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?