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
请先登录再写评论。
Hi there,
Please show a screenshot of your datasource configuration.
Also -- what driver version do you use?
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
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)?

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