Problem creating MySql data source

I'm trying to create a mysql datasource in php storm and when I attempt to verify the connection, I get this error:

"Connection to MySQL - mv@localhost [2] failed: Exception in thread "main" java.lang.ClassNotFoundException: com.mysql.jdbc.Driver"

The entire thing is shown in the attached screen shot.

Any ideas?

- Nathan



Attachment(s):
Screen Shot 2014-02-07 at 4.16.27 PM.png
4 comments
Comment actions Permalink

Hi there,

Please show a screenshot of your datasource configuration.

Also -- what driver version do you use?

0
Comment actions Permalink

Screen shot is attached. See first screen shot for MySql driver settings. I haven't touched those at all.

- Nathan



Attachment(s):
Screen Shot 2014-02-07 at 4.54.54 PM.png
Screen Shot 2014-02-07 at 4.54.00 PM.png
0
Comment actions Permalink

By "driver" I mean this part of that screen. Sorry for a silly question, but have you downloaded default or provided your own? What version? Are files there (i.e. path is correct and they are accessible)?

screen01.png

0
Comment actions Permalink

Ah, that's the problem. I hadn't downloaded the driver. My bad. Thanks for the help; works now.

0

Please sign in to leave a comment.