Home  >  Article  >  Database  >  java-我如何配这条Java语句所要求的mysql数据库?

java-我如何配这条Java语句所要求的mysql数据库?

WBOY
WBOYOriginal
2016-06-06 09:36:13975browse

mysqljava数据库

ct=DriverManager.getConnection("jdbc:mysql://127.0.0.1:3306/virtual_lab_server","DBAdmin_KK","-1042^6857::mySQL");
RT,现在安装好了mysql并能正常使用,但是没有这个数据库,大大们能不能给出mysql的命令呀?
我已经加载好了数据库驱动,只是没有这个数据库,不知道怎么创建数据库,用户和密码,求大大们帮忙看下怎么创建对应名称的数据库和对应的用户,设置用户名密码

Statement:
The content of this article is voluntarily contributed by netizens, and the copyright belongs to the original author. This site does not assume corresponding legal responsibility. If you find any content suspected of plagiarism or infringement, please contact admin@php.cn