Finally got Mysql!

xiaoxiao2021-03-06  65

Recently, it is necessary to study OFBIZ, I have to use MySQL, so I installed one, I have to connect in WSAD, I didn't expect to encounter problems. First MySQL, always prompted @localhost users wrong, can't enter, playing this gain a few years ago, I didn't remember there was so trouble. I still remember that as long as MySQL -U root -P is OK, it is not actually actually. Although I finally got Mysql Studio5.0, hand-handed the user's localhost item to delete it, but I still solved it, but I still didn't understand what is intention! MySQL problem solved, but there is a problem in the program connection, always error: [servlet error] - [Communication Failure During handshake. Is the A Server Running on localhost: 3306?]: java.sql.sqlexception: Communication Failure durning handshake. Is there a server running on localhost: 3306? Is it 3306 port? ? Check if you have NetStat -an, no problem, it is open. Look at the service, MySQL also started. Finally, it is doubtful to whether the version does not match the problem. My mysql is mysql-5.0.0a-alpha-win, JDBC driver is mm.mysql-2.0.14-bin.jar, because there is an impression that someone asked his drive is mysql-connector-java-3.0.10 -stable-bin.jar, so download this new version, put it in ClassPath, or not? ? ? In anger, restart the machine, then run again, you can actually. Oh, it turned out that LiB is to restart the service, and I am fainting. Summary: It seems that the version does not match the problem, this free thing is not guaranteed, wasting me a day, do it! Now I want to use DB2 with DB2, I want to use mysql with mysql, appropriate! Finally, I despise Struts. Every time I die, I die on this, I don't dare to build now!

转载请注明原文地址:https://www.9cbs.com/read-88536.html

New Post(0)