News
: April 3, 2008 - New Contest! -
Win 5 Years of Hosting and $1,000!
June 30, 2008 -
Submit Your Site for the July 08 Site of the Month Award!
Home
Help
Search
Calendar
Login
Register
Welcome,
Guest
. Please
login
or
register
.
Did you miss your
activation email?
July 06, 2008, 12:53:45 AM
1 Hour
1 Day
1 Week
1 Month
Forever
Login with username, password and session length
Web Hosting Forum | Lunarpages
>
Lunarpages Web Hosting - Advanced Assistance
>
Lunarpages - Dedicated Web Hosting
>
Lunarpages - Webmin
>
Setting up jdbc MYSQL d/b with Resin
Pages: [
1
]
Go Down
« previous
next »
Print
Author
Topic: Setting up jdbc MYSQL d/b with Resin (Read 779 times)
rweiss23
Newbie
Offline
Posts: 3
Setting up jdbc MYSQL d/b with Resin
«
on:
September 08, 2007, 04:47:37 PM »
I just set up Resin on my dedicated server, and thats fine.
I can't seem to get the right config for the MYSQL database though.
My database name is bostonwe_events. I have left out the real username and pw for obvious reasons.
In the Resin conf file, the database section, I have:
<database>
<jndi-name>bostonwe_events</jndi-name>
<driver>
<type>com.mysql.jdbc.jdbc2.optional.MysqlConnectionPoolDataSource</type>
<url>jdbc:mysql://localhost:3306/bostonwe_events</url>
<user>user name here</user>
<password>pw here</password>
</driver>
<prepared-statement-cache-size>8</prepared-statement-cache-size>
<max-connections>20</max-connections>
<max-idle-time>30s</max-idle-time>
</database>
I get a 500 error:
java.sql.SQLException: Invalid authorization specification, message from
server: "Access denied for user 'root'@'localhost' (using password: NO)"
I set up the d/b and user via the mysql options in the cpanel. Do I need an xml file with more parms?
Any help would be appreciated. I haven't heard back from support today.
Thanks,
Roger
Logged
perestrelka
Administrator
Jedi
Offline
Posts: 948
Re: Setting up jdbc MYSQL d/b with Resin
«
Reply #1 on:
September 08, 2007, 09:44:23 PM »
Hi,
All looks correct to me in the entry you provided. Is there any other useful info in the resin logs?
Unfortunately, support can't assist with issues not related to the hosting plans or network.
Logged
Kind Regards,
Vlad Artamonov
Pages: [
1
]
Go Up
Print
« previous
next »
Jump to:
Please select a destination:
-----------------------------
Lunarpages Web Hosting - Information & Opportunities
-----------------------------
=> Lunarpages Web Hosting - Announcements
=> Lunarpages Web Hosting - Hosting Plans & Site Information
=> Job Opportunities at Lunarpages Web Hosting
=> Lunarpages Web Hosting - Network Information
=> Lunarpages Web Hosting - Server Information
-----------------------------
Lunarpages Web Hosting - Before Signing Up
-----------------------------
=> Lunarpages Web Hosting Plans - Pre-Sales Questions
-----------------------------
Lunarpages Web Hosting - Online Help Desk
-----------------------------
=> Lunarpages - Webhosting Help
=> Lunarpages - Beginner Assistance
=> Lunarpages - How to's
=> E-mail with your Lunarpages Hosting Plan
=> Lunarpages - CPanel Help
=> Lunarpages - Ecommerce Hosting
=> Lunarpages - FrontPage
=> Lunarpages - DreamWeaver
=> Lunarpages - Message Boards-Forums-Fantastico Scripts
===> Lunarpages - Joomla / Mambo
-----------------------------
Lunarpages Web Hosting - Advanced Assistance
-----------------------------
=> Web Management
=> Lunarpages - Webdesign and HTML
=> Lunarpages - Search Engine Optimization
=> Lunarpages - Animation & Flash
=> Lunarpages - Graphics
=> Lunarpages - Web Hosting, Email & PC Security
=> Lunarpages - Dedicated Web Hosting
=> Lunarpages - Reseller Web Hosting
=> Lunarpages - VPS Hosting
=> Lunarpages - SharePoint Services (Beta)
===> Lunarpages - cPanel & WHM
===> Lunarpages - General
===> Lunarpages - Plesk
===> Lunarpages - Security
===> Lunarpages - Tutorials
===> Lunarpages - Webmin
===> Lunarpages - WHM
-----------------------------
Lunarpages Web Hosting - Coding
-----------------------------
=> Lunarpages - ASP
=> Lunarpages - C++ / PERL / CGI
=> Lunarpages - PHP & MySQL
=> Lunarpages - Java Applets & Javascript
=> Lunarpages - JSP & Servlets
=> Lunarpages - Ruby Hosting
=> Lunarpages - Windows Development & Hosting
-----------------------------
Lunarpages Web Hosting - Entertainment
-----------------------------
=> Lunarpages - Chat & Stuff!
=> Lunarpages - Contests
=> Fun at Lunarpages!!
=> Lunarpages - Online Gaming
-----------------------------
Lunarpages Web Hosting - General
-----------------------------
=> Social Networking
=> Lunarpages Free Web Hosting - Education Program
=> Lunarpages - Affiliate Program
=> Introduce Yourself to the Lunarpages Forum Community!
=> Your Websites & Creations at Lunarpages!
=> Lunarpages Website of the Month
=> Lunarpages - Service and Trade
Loading...