Install mysql connector java debian
Nickool Nickool 3, 10 10 gold badges 40 40 silver badges 69 69 bronze badges. Are you using any IDE for Java? Add a comment. Active Oldest Votes. The JDBC driver does not need any "installation". When starting your program, simply provide the location of the file to the Java command: java -cp myapp. Improve this answer. Dhanush Gopinath Dhanush Gopinath 5, 5 5 gold badges 35 35 silver badges 65 65 bronze badges. Sign up or log in Sign up using Google. Sign up using Facebook.
Sign up using Email and Password. Post as a guest Name. Connection URL Syntax. Configuration Properties. Prepared Statements. Result Sets. Datetime types processing. High Availability and Clustering. Performance Extensions. Tunes for integration with other products. JDBC compliance. Handling of Date-Time Values. Preserving Time Instants. Using Character Sets and Unicode. Using Query Attributes. This will ask you for the MySQL root password that you set during installation.
First, we are asked about the validate password plugin , a plugin that can automatically enforce certain password strength rules for your MySQL users. If enabled, you will also be prompted to choose a level from 0—2 for how strict the password validation will be. Since we just created the password when we installed MySQL, we can safely skip this. The rest of the prompts can be answered yes.
You will be asked about removing the anonymous MySQL user, disallowing remote root login, removing the test database, and reloading privilege tables to ensure the previous changes take effect properly. These are all a good idea. The script will exit after all the prompts are answered. Now our MySQL installation is reasonably secured.
The -u root portion tells mysqladmin to log in as the MySQL root user, -p instructs the client to ask for a password, and version is the actual command we want to run. The output will let us know what version of the MySQL server is running, its uptime, and some other status information:.
For more information about the basics of MySQL, we encourage you to check out the following tutorials:. Where would you like to share this to? Twitter Reddit Hacker News Facebook. Share link Tutorial share link. Sign Up. DigitalOcean home. Community Control Panel. Hacktoberfest Contribute to Open Source.
0コメント