Sunday, September 11, 2005

MySQL 4.1 Post-Installation Problems

I spent the whole one and half day searching and playing with java/tomcat/mysql.
Version details:
Java : 1.5
Tomcat: 5.28
Mysql: 4.1

The problem is with mysql, the famous problem of:
Access denied for user: user@localhost (using password: yes)

The problem is with the new version of mysql 4.1, which uses a new mechanism
for authentication and storing passwords in the database. So due to this, the
old Java Connector/Driver is not compatible with the 4.1 and above.
So download the current version of the Java Driver here.
Uzip the driver. Unjar the driver again
and place the com and org folders in tomcat/common/classes.
Using the driver connection string: com.mysql.jdbc.Driver

Create users carefully using this link.
Dont forget to do the following after creating users:
>flush hosts;
>flush privileges;

4 Comments:

Anonymous Anonymous said...

mortgage articles for refinance mortgage home loans

11:16 PM  
Anonymous Anonymous said...

Who knows where to download XRumer 5.0 Palladium?
Help, please. All recommend this program to effectively advertise on the Internet, this is the best program!

5:11 PM  
Anonymous Anonymous said...

http://markonzo.edu infrast commentator http://www.netknowledgenow.com/members/Prednisone-Side-Effects.aspx http://www.netknowledgenow.com/members/Adderall-Side-Effects.aspx http://imitrex.indieword.com/ cranial http://www.netknowledgenow.com/members/Cephalexin-500mg.aspx http://www.netknowledgenow.com/members/Xanax-Without-Prescription-Here.aspx http://augmentin.indieword.com/ txdot hoare http://www.fiql.com/blogs/Nifedipine http://accutanez.indieword.com/ lays http://riderx.info/members/aricept-5mg-aricept-generic.aspx http://isotretinoiner.indieword.com/ juggling ashma http://www.netknowledgenow.com/members/zetia-side-effects.aspx http://inderal.indieword.com/ sukeyuki

1:31 PM  
Anonymous Anonymous said...


Дистанционный курс изучения английского языка посредством Интернет/skype. Различные методики, аудио и видео материалы. Все уровни.
[url=http://eyesvision.ru/laser-correction][color=#E4F4FE]лазерная коррекция зрения[/color][/url]

9:55 AM  

Post a Comment

<< Home