[JavaSE实验] JDBC and MySQL[JavaSE实验] JDBC and MySQL 1 JDBC JDBC is an API for the Java programming language that defines how a client may access a database. It provides methods for querying and updating data in a database. JDBC driver for that database. 2 About MySQL database MySQL is a leading open source database management system. It is a multi user, multithreaded database management system. MySQL is especially popular on the Apache, MySQL, PHP. Currently MySQL is owned by Oracle. MySQL database is available on most important OS platforms. It runs under BSD Unix, Linux, Windows or Mac. Wikipedia and YouTube use MySQL. These0 码力 | 23 页 | 2.52 MB | 1 年前3
MySQL ZIP Archive版本安装说明MySQL ZIP Archive版本安装说明 1 系统环境 硬件 Surface Pro 4; 操作系统 Windows 10专业版 16299.19 64bit; MySQL MySQL Community Server 5.7.20,Windows (x86,64bit) ZIP Archive; MySQL安装路径 C:\MySQL,请视自己计算机情况选择安装目录。 2 2 软件下载 MySQL下载地址:https://dev.mysql.com/downloads/mysql/ 下载版本:Windows (x86, 64-bit), ZIP Archive,mysql-5.7.20-winx64.zip 3 软件安装 使用管理员权限打开命令提示符,步骤:开始菜单选择Windows系统 - 命令提示符 - 在其上点击右键选择 - 更多 - 以管 理员身份运行。 理员身份运行。 定位到C盘根目录,创建MySQL目录。 将所下载的MySQL软件压缩包mysql-5.7.20-winx64.zip放在MySQL目录下,并使用解压缩工具(WinRAR等)解压 缩;cd到解压目录内,新建my.ini文件,并将以下内容拷贝到my.ini文件内。 [mysql] # 设置mysql客户端默认字符集 default-character-set=utf8 [mysqld]0 码力 | 4 页 | 756.23 KB | 1 年前3
09 MySQL 杨亮 《PHP语⾔程序设计》MySQL �� ����⼤大 • ��能�������� • ���能������������� • ����������⼤大��Oracle为也� • �����了�不������ • �����都�������� ���DBA��� ��MySQL�� �� id name age gender dept phone 1 �� 25 � ��� 137XXX 2 ��� 135XXX 3 �� 24 � ��� 130XXX 4 多� 25 � ��� 151XXX 2009�����的�Oracle�� 2008����Sun�� �� MySQL AB�� SQL: Structured Query Language Data Definition Language Data Manipulation Language Data Control 24 � ��� 130XXX 4 多� 25 � ��� 151XXX ����⼤大��������������� 3000+⼀一� ��MySQL����� ��� (����) ����phpMyAdmin为 ��� (���) mysql -h127.0.0.1 -P3306 -uroot -p123456 IP���host为 ���Port为 �0 码力 | 27 页 | 2.10 MB | 1 年前3
ThinkJS 2.2 中文文档testing 和 prodution 3 种项目环境,可以在不同的项目环境下进行 不同的配置,满足在不同环境下的配置需求,同时还可以基于项目需要进行扩展。 支持丰富的数据库 ThinkJS 支持 mysql , mongodb , sqlite 等常见的数据库,并且封装了很多操作数据库的接口, 无需手动拼接 SQL 语句,还可以自动防止 SQL 注入等安全漏洞。同时支持事务、关联模型等高级 功能。 [HTTP] GET /static/css/reset.css 200 3ms Socket 连接日志 [2015-10-12 14:13:54] [SOCKET] Connect mysql with mysql://root:root@127.0.0.1:3306 错误日志 [2015-10-12 14:15:32] [Error] Error: ER_ACCESS_DENIED_ERROR: http://127.0.0.1:8360/ [2015-09-21 20:21:09] [THINK] ThinkJS Version: 2.0.0 [2015-09-21 20:21:09] [THINK] Cluster Status: closed [2015-09-21 20:21:09] [THINK] WebSocket Status: closed [2015-09-21 20:21:09] [THINK]0 码力 | 277 页 | 3.61 MB | 1 年前3
Nacos架构&原理
void injectMemberManager(ServerMemberManager memberManager); /** * The addressing pattern finds cluster nodes. * * @param members {@link Collection} */ void afterLookup(Collectionmembers); MemberLookup 实现中。 接着来介绍下当前 Nacos 内部实现的几种寻址机制。 Nacos 架构 < 58 内部实现 单机寻址 com.alibaba.nacos.core.cluster.lookup.StandaloneMemberLookup 单机模式的寻址模式很简单,其实就是找到自己的 IP:PORT 组合信息,然后格式化为⼀个节点信息, 调用 afterLookup singletonList(url))); } } } 文件寻址 com.alibaba.nacos.core.cluster.lookup.FileConfigMemberLookup 文件寻址模式是 Nacos 集群模式下的默认寻址实现。文件寻址模式很简单,其实就是每个 Nacos 节点需要维护⼀个叫做 cluster.conf 的文件。 59 > Nacos 架构 192.168.16.101:8847 0 码力 | 326 页 | 12.83 MB | 10 月前3
ThinkJS 2.0 中文文档development � testing � prodution 3 ��������������������� ���������������������������������� ThinkJS �� mysql � mongodb � sqlite �������������������������� ���� SQL ���������� SQL ������������������������� [HTTP] GET /static/css/reset.css 200 3ms Socket ���� [2015-10-12 14:13:54] [SOCKET] Connect mysql with mysql://root:root@127.0.0.1:3306 ���� [2015-10-12 14:15:32] [Error] Error: ER_ACCESS_DENIED_ERROR: 0.0.1:8360/ [2015-09-21 20:21:09] [THINK] ThinkJS Version: 2.0.0 [2015-09-21 20:21:09] [THINK] Cluster Status: closed [2015-09-21 20:21:09] [THINK] WebSocket Status: closed [2015-09-21 20:21:09] [THINK]0 码力 | 238 页 | 1.87 MB | 1 年前3
ThinkJS 2.1 Documentationsupport different requests. You can also custom and extend them in your projects. ThinkJS supports MySQL , MongoDB and SQLite . It encapsulates many APIs of the database operations, without having to manually /static/css/reset.css 200 3ms Socket connection log [2015-10-12 14:13:54] [SOCKET] Connect mysql with mysql://root:root@127.0.0.1:3306 Error log [2015-10-12 14:15:32] [Error] Error: ER_ACCESS_DENIED_ERROR: 0.0.1:8360/ [2015-09-21 20:21:09] [THINK] ThinkJS Version: 2.0.0 [2015-09-21 20:21:09] [THINK] Cluster Status: closed [2015-09-21 20:21:09] [THINK] WebSocket Status: closed [2015-09-21 20:21:09] [THINK]0 码力 | 148 页 | 1.69 MB | 1 年前3
Spring Boot 2.0.0.M4 Reference Guideproperties: spring.datasource.url=jdbc:mysql://localhost/test spring.datasource.username=dbuser spring.datasource.password=dbpass spring.datasource.driver-class-name=com.mysql.jdbc.Driver Note You should at we check for that before doing anything. I.e. if you set spring.datasource.driver-class-name=com.mysql.jdbc.Driver then that class has to be loadable. See DataSourceProperties for more of the supported Elasticsearch you must provide the address of one or more cluster nodes. The address can be specified by setting the spring.data.elasticsearch.cluster-nodes property to a comma-separated ‘host:port’ list.0 码力 | 583 页 | 501.03 KB | 1 年前3
Spring Boot 2.0.0.M3 Reference Guideproperties: spring.datasource.url=jdbc:mysql://localhost/test spring.datasource.username=dbuser spring.datasource.password=dbpass spring.datasource.driver-class-name=com.mysql.jdbc.Driver Note You should at we check for that before doing anything. I.e. if you set spring.datasource.driver-class-name=com.mysql.jdbc.Driver then that class has to be loadable. See DataSourceProperties for more of the supported Elasticsearch you must provide the address of one or more cluster nodes. The address can be specified by setting the spring.data.elasticsearch.cluster-nodes property to a comma-separated ‘host:port’ list.0 码力 | 590 页 | 513.07 KB | 1 年前3
Spring Boot 1.5.6.RELEASE Reference Guideproperties: spring.datasource.url=jdbc:mysql://localhost/test spring.datasource.username=dbuser spring.datasource.password=dbpass spring.datasource.driver-class-name=com.mysql.jdbc.Driver Note You should at we check for that before doing anything. I.e. if you set spring.datasource.driver-class-name=com.mysql.jdbc.Driver then that class has to be loadable. See DataSourceProperties for more of the supported a TransportClient) by setting spring.data.elasticsearch.cluster-nodes to a comma-separated ‘host:port’ list. spring.data.elasticsearch.cluster-nodes=localhost:9300 @Component public class MyBean {0 码力 | 601 页 | 531.65 KB | 1 年前3
共 1000 条
- 1
- 2
- 3
- 4
- 5
- 6
- 100













