国产 无码 综合区,色欲AV无码国产永久播放,无码天堂亚洲国产AV,国产日韩欧美女同一区二区

eclipse之MySQL數(shù)據(jù)庫(kù)與Web前段存儲(chǔ)交互

這篇具有很好參考價(jià)值的文章主要介紹了eclipse之MySQL數(shù)據(jù)庫(kù)與Web前段存儲(chǔ)交互。希望對(duì)大家有所幫助。如果存在錯(cuò)誤或未考慮完全的地方,請(qǐng)大家不吝賜教,您也可以點(diǎn)擊"舉報(bào)違法"按鈕提交疑問。

首先我們新建一個(gè)HTML文件和一個(gè)Servlet文件

eclipse之MySQL數(shù)據(jù)庫(kù)與Web前段存儲(chǔ)交互,數(shù)據(jù)庫(kù),eclipse,mysql

eclipse之MySQL數(shù)據(jù)庫(kù)與Web前段存儲(chǔ)交互,數(shù)據(jù)庫(kù),eclipse,mysql

新建一個(gè)文件Package文件,命名為com.sql?

eclipse之MySQL數(shù)據(jù)庫(kù)與Web前段存儲(chǔ)交互,數(shù)據(jù)庫(kù),eclipse,mysql

將此文件拖入lib文件里(下載mysql-connector-java jar包_mysql-connector-java-5.7.33jar-CSDN博客)

eclipse之MySQL數(shù)據(jù)庫(kù)與Web前段存儲(chǔ)交互,數(shù)據(jù)庫(kù),eclipse,mysql

在com.sql中創(chuàng)建以下文件

eclipse之MySQL數(shù)據(jù)庫(kù)與Web前段存儲(chǔ)交互,數(shù)據(jù)庫(kù),eclipse,mysqleclipse之MySQL數(shù)據(jù)庫(kù)與Web前段存儲(chǔ)交互,數(shù)據(jù)庫(kù),eclipse,mysql

DBC文件內(nèi)容:

解釋

  1. package com.sql;

  2. import java.sql.Connection;

  3. import java.sql.DriverManager;

  4. public class DBConnection {

  5. public static void main(String[] args) {

  6. }

  7. String driver = "com.mysql.jdbc.Driver";

  8. String url = "jdbc:mysql://localhost:3306/bigdata01?useUnicode=true&characterEncoding=utf-8&serverTimezone=UTC&useSSL=false";

  9. String user = "root";

  10. String password = "2020";

  11. public Connection conn;

  12. public DBConnection() {

  13. try {

  14. Class.forName(driver);

  15. conn = (Connection) DriverManager.getConnection(url, user, password);

  16. } catch (Exception e) {

  17. e.printStackTrace();

  18. }

  19. }

  20. public void close() {

  21. try {

  22. this.conn.close();

  23. } catch (Exception e) {

  24. e.printStackTrace();

  25. }

  26. }

  27. }

eclipse之MySQL數(shù)據(jù)庫(kù)與Web前段存儲(chǔ)交互,數(shù)據(jù)庫(kù),eclipse,mysql

eclipse之MySQL數(shù)據(jù)庫(kù)與Web前段存儲(chǔ)交互,數(shù)據(jù)庫(kù),eclipse,mysql

MysqlUtil文件內(nèi)容:

解釋

  1. package com.sql;

  2. import java.sql.PreparedStatement;

  3. import java.sql.ResultSet;

  4. import java.sql.SQLException;

  5. import java.sql.Statement;

  6. import java.util.ArrayList;

  7. public class MysqlUtil {

  8. public static int add(String sql) {

  9. int i=0;

  10. DBConnection db = new DBConnection();

  11. try {

  12. PreparedStatement preStmt = (PreparedStatement) db.conn.prepareStatement(sql);

  13. preStmt.executeUpdate();

  14. preStmt.close();

  15. db.close();

  16. i = 1;

  17. System.out.println("sql = " + sql);

  18. } catch (Exception e) {

  19. e.printStackTrace();

  20. }

  21. return i;

  22. }

  23. public static int update(String sql) {

  24. int i =0;

  25. DBConnection db = new DBConnection();

  26. try {

  27. PreparedStatement preStmt = (PreparedStatement) db.conn.prepareStatement(sql);

  28. preStmt.executeUpdate();

  29. preStmt.close();

  30. db.close();

  31. i = 1;

  32. System.out.println("sql = " + sql);

  33. } catch (SQLException e) {

  34. e.printStackTrace();

  35. }

  36. return i;

  37. }

  38. public static int del(String delstr) {

  39. int i=0;

  40. DBConnection db = new DBConnection();

  41. try {

  42. PreparedStatement preStmt = (PreparedStatement) db.conn.prepareStatement(delstr);

  43. preStmt.executeUpdate();

  44. preStmt.close();

  45. db.close();

  46. i = 1;

  47. System.out.println("sql = " + delstr);

  48. } catch (SQLException e){

  49. e.printStackTrace();

  50. }

  51. return i;

  52. }

  53. public static int getCount(String sql) {

  54. int sum = 0;

  55. DBConnection db = new DBConnection();

  56. try {

  57. Statement stmt = (Statement) db.conn.createStatement();

  58. ResultSet rs = (ResultSet) stmt.executeQuery(sql);

  59. while (rs.next()) {

  60. sum += rs.getInt(1);

  61. }

  62. rs.close();

  63. db.close();

  64. } catch (Exception e) {

  65. }

  66. return sum;

  67. }

  68. public static String getJsonBySqlDataGrid( String sqlcount,String sql,String[] colums){

  69. int count = getCount(sqlcount);

  70. System.err.println("sql=" + sql);

  71. ArrayList<String[]> result = new ArrayList<String[]>();

  72. DBConnection db = new DBConnection();

  73. try {

  74. Statement stmt = (Statement) db.conn.createStatement();

  75. ResultSet rs = (ResultSet) stmt.executeQuery(sql);

  76. while(rs.next()){

  77. String[] dataRow = new String[colums.length];

  78. for( int i = 0; i < dataRow.length; i++ ) {

  79. dataRow[i] = rs.getString( colums[i] );

  80. }

  81. result.add(dataRow);

  82. }

  83. rs.close();

  84. db.close();//

  85. } catch (SQLException e) {

  86. e.printStackTrace();

  87. }

  88. return listToJsonDataGrid(result,colums,count);

  89. }

  90. public static String getJsonBySql( String sql,String[] colums){

  91. System.err.println("sql=" + sql);

  92. ArrayList<String[]> result = new ArrayList<String[]>();

  93. DBConnection db = new DBConnection();

  94. try {

  95. Statement stmt = (Statement) db.conn.createStatement();

  96. ResultSet rs = (ResultSet) stmt.executeQuery(sql);

  97. while(rs.next()){

  98. String[] dataRow = new String[colums.length];

  99. for( int i = 0; i < dataRow.length; i++ ) {

  100. dataRow[i] = rs.getString( colums[i] );

  101. }

  102. result.add(dataRow);

  103. }

  104. rs.close();

  105. db.close();//

  106. } catch (SQLException e) {

  107. e.printStackTrace();

  108. }

  109. return listToJson(result,colums);

  110. }

  111. public static ArrayList<String[]> showUtil( String sql, String[] colums){

  112. ArrayList<String[]> result = new ArrayList<String[]>();

  113. DBConnection db = new DBConnection();

  114. try {

  115. Statement stmt = (Statement) db.conn.createStatement();

  116. ResultSet rs = (ResultSet) stmt.executeQuery(sql);

  117. while(rs.next()){

  118. String[] dataRow = new String[colums.length];

  119. for( int i = 0; i < dataRow.length; i++ ) {

  120. dataRow[i] = rs.getString( colums[i] );

  121. }

  122. result.add(dataRow);

  123. }

  124. rs.close();

  125. db.close();//

  126. } catch (SQLException e) {

  127. e.printStackTrace();

  128. }

  129. return result;

  130. }

  131. public static String listToJsonDataGrid( ArrayList<String[]> list,String[] colums,int count) {

  132. String jsonStr = "{\"code\":0,\"msg\":\"success\",\"count\":"+count+",\"data\":[";

  133. for(int i = 0; i < list.size(); i++) {

  134. String arr = "{";

  135. for( int j = 0; j < list.get(0).length; j++) {

  136. if( list.get(i)[j] == null || "NULL".equals(list.get(i)[j])) {

  137. arr += "\"" + colums[j] + "\":\"\"";

  138. }else {

  139. arr += "\"" + colums[j] + "\""+":" ;

  140. arr += "\"" + list.get(i)[j].replace("\"","\\\"") + "\"";

  141. }

  142. if( j < list.get(0).length - 1 ) {

  143. arr += ",";

  144. }

  145. }

  146. arr += "}";

  147. if( i < list.size() - 1 ) {

  148. arr += ",";

  149. }

  150. jsonStr += arr;

  151. }

  152. jsonStr += "]}";

  153. return jsonStr;

  154. }

  155. public static String listToJson( ArrayList<String[]> list,String[] colums) {

  156. String jsonStr = "{\"code\":0,\"msg\":\"success\",\"data\":[";

  157. for(int i = 0; i < list.size(); i++) {

  158. String arr = "{";

  159. for( int j = 0; j < list.get(0).length; j++) {

  160. if( list.get(i)[j] == null || "NULL".equals(list.get(i)[j])) {

  161. arr += "\"" + colums[j] + "\":\"\"";

  162. }else {

  163. arr += "\"" + colums[j] + "\""+":" ;

  164. arr += "\"" + list.get(i)[j].replace("\"","\\\"") + "\"";

  165. }

  166. if( j < list.get(0).length - 1 ) {

  167. arr += ",";

  168. }

  169. }

  170. arr += "}";

  171. if( i < list.size() - 1 ) {

  172. arr += ",";

  173. }

  174. jsonStr += arr;

  175. }

  176. jsonStr += "]}";

  177. return jsonStr;

  178. }

  179. }

eclipse之MySQL數(shù)據(jù)庫(kù)與Web前段存儲(chǔ)交互,數(shù)據(jù)庫(kù),eclipse,mysql

然后再HTML文件里寫入

解釋

  1. <!DOCTYPE html>

  2. <html>

  3. <head>

  4. <meta charset="UTF-8">

  5. <title>Insert title here</title>

  6. <script src="https://apps.bdimg.com/libs/jquery/2.1.4/jquery.min.js"> </script>

  7. </head>

  8. <!-- onload刷新頁(yè)面就會(huì)觸發(fā)該方法 -->

  9. <body onload="get()">

  10. <div id = "hhh"></div>

  11. </body>

  12. <script>

  13. function get(){

  14. $.ajax({

  15. type:"get",

  16. url:"/BigData02/UserServlet",

  17. success:function(data){

  18. console.log(data);

  19. showData(data.data)

  20. }

  21. })

  22. }

  23. function showData(data){

  24. var html = '<table border="1">';

  25. for(var i = 0; i < data.length; i++){

  26. html += '<tr>';

  27. html += '<td>' + data[i].id + '</td>';

  28. html += '<td>' + data[i].username + '</td>';

  29. html += '<td>' + data[i].password + '</td>';

  30. html += '<td>';

  31. html += '<input type="button" value="編輯" />';

  32. html += '<input type="button" value="刪除" />';

  33. html += '</td>';

  34. html += '</tr>';

  35. }

  36. html += '</table>';

  37. $("#hhh").empty().append(html);

  38. }

  39. </script>

  40. </html>

eclipse之MySQL數(shù)據(jù)庫(kù)與Web前段存儲(chǔ)交互,數(shù)據(jù)庫(kù),eclipse,mysql

包含了一個(gè)使用jQuery進(jìn)行AJAX請(qǐng)求并展示用戶數(shù)據(jù)的功能。頁(yè)面加載完成后會(huì)調(diào)用?get()?方法,該方法通過(guò)AJAX請(qǐng)求從服務(wù)器獲取數(shù)據(jù),并在成功后調(diào)用?showData()?方法展示數(shù)據(jù)。

在展示數(shù)據(jù)的部分,會(huì)將獲取到的數(shù)據(jù)以表格的形式展示在頁(yè)面上,每一行代表一個(gè)用戶的信息,包括用戶ID、用戶名和密碼,并且每行最后有一個(gè)"編輯"和"刪除"按鈕。

請(qǐng)注意,為了使這段代碼正常工作,需要確保?/BigData02/UserServlet?能夠正確處理 GET 請(qǐng)求并返回符合預(yù)期格式的用戶數(shù)據(jù)

sql數(shù)據(jù)庫(kù)文件內(nèi)容:

eclipse之MySQL數(shù)據(jù)庫(kù)與Web前段存儲(chǔ)交互,數(shù)據(jù)庫(kù),eclipse,mysqleclipse之MySQL數(shù)據(jù)庫(kù)與Web前段存儲(chǔ)交互,數(shù)據(jù)庫(kù),eclipse,mysql

更改sevtel文件;

eclipse之MySQL數(shù)據(jù)庫(kù)與Web前段存儲(chǔ)交互,數(shù)據(jù)庫(kù),eclipse,mysqleclipse之MySQL數(shù)據(jù)庫(kù)與Web前段存儲(chǔ)交互,數(shù)據(jù)庫(kù),eclipse,mysql

解釋

  1. package com.bigdata;

  2. import java.io.IOException;

  3. import javax.servlet.ServletException;

  4. import javax.servlet.annotation.WebServlet;

  5. import javax.servlet.http.HttpServlet;

  6. import javax.servlet.http.HttpServletRequest;

  7. import javax.servlet.http.HttpServletResponse;

  8. import com.sql.MysqlUtil;

  9. /**

  10. * Servlet implementation class UserServlet

  11. */

  12. @WebServlet("/UserServlet")

  13. public class UserServlet extends HttpServlet {

  14. private static final long serialVersionUID = 1L;

  15. /**

  16. * @see HttpServlet#HttpServlet()

  17. */

  18. public UserServlet() {

  19. super();

  20. // TODO Auto-generated constructor stub

  21. }

  22. /**

  23. * @see HttpServlet#doGet(HttpServletRequest request, HttpServletResponse response)

  24. */

  25. protected void doGet(HttpServletRequest request, HttpServletResponse response) throws ServletException, IOException {

  26. String sql = "select * from user";

  27. String[] colums = {"id","username","password"};

  28. String data = MysqlUtil.getJsonBySql(sql, colums);

  29. System.out.println(data);

  30. response.setCharacterEncoding("utf-8");

  31. response.setContentType("application/json; charset=utf-8");

  32. response.getWriter().append(data);

  33. }

  34. /**

  35. * @see HttpServlet#doPost(HttpServletRequest request, HttpServletResponse response)

  36. */

  37. protected void doPost(HttpServletRequest request, HttpServletResponse response) throws ServletException, IOException {

  38. // TODO Auto-generated method stub

  39. doGet(request, response);

  40. }

  41. }

eclipse之MySQL數(shù)據(jù)庫(kù)與Web前段存儲(chǔ)交互,數(shù)據(jù)庫(kù),eclipse,mysql

這段代碼是一個(gè)簡(jiǎn)單的Java Servlet類,名為UserServlet,用于處理GET請(qǐng)求和POST請(qǐng)求。在該Servlet中,定義了doGet()和doPost()方法來(lái)處理GET請(qǐng)求和POST請(qǐng)求。

在doGet()方法中,首先構(gòu)建了一個(gè)查詢語(yǔ)句"select * from user",然后調(diào)用MysqlUtil類的getJsonBySql()方法來(lái)執(zhí)行查詢并獲取返回的JSON格式數(shù)據(jù)。接著設(shè)置響應(yīng)的字符編碼和內(nèi)容類型為JSON格式,并將查詢結(jié)果通過(guò)response.getWriter().append(data)寫入響應(yīng),返回給客戶端。

在doPost()方法中,直接調(diào)用了doGet()方法,實(shí)現(xiàn)了POST請(qǐng)求的處理邏輯與GET請(qǐng)求相同。

該Servlet的作用是在接收到GET請(qǐng)求時(shí),從數(shù)據(jù)庫(kù)中查詢用戶信息,并將查詢結(jié)果以JSON格式返回給客戶端。前端頁(yè)面中的AJAX請(qǐng)求會(huì)調(diào)用這個(gè)Servlet來(lái)獲取用戶信息并展示在頁(yè)面上。

結(jié)果為:

eclipse之MySQL數(shù)據(jù)庫(kù)與Web前段存儲(chǔ)交互,數(shù)據(jù)庫(kù),eclipse,mysql文章來(lái)源地址http://www.zghlxwxcb.cn/news/detail-848660.html

到了這里,關(guān)于eclipse之MySQL數(shù)據(jù)庫(kù)與Web前段存儲(chǔ)交互的文章就介紹完了。如果您還想了解更多內(nèi)容,請(qǐng)?jiān)谟疑辖撬阉鱐OY模板網(wǎng)以前的文章或繼續(xù)瀏覽下面的相關(guān)文章,希望大家以后多多支持TOY模板網(wǎng)!

本文來(lái)自互聯(lián)網(wǎng)用戶投稿,該文觀點(diǎn)僅代表作者本人,不代表本站立場(chǎng)。本站僅提供信息存儲(chǔ)空間服務(wù),不擁有所有權(quán),不承擔(dān)相關(guān)法律責(zé)任。如若轉(zhuǎn)載,請(qǐng)注明出處: 如若內(nèi)容造成侵權(quán)/違法違規(guī)/事實(shí)不符,請(qǐng)點(diǎn)擊違法舉報(bào)進(jìn)行投訴反饋,一經(jīng)查實(shí),立即刪除!

領(lǐng)支付寶紅包贊助服務(wù)器費(fèi)用

相關(guān)文章

  • web開發(fā)中,簡(jiǎn)單的案例說(shuō)明前端頁(yè)面和后端以及mysql數(shù)據(jù)庫(kù)的交互過(guò)程

    web開發(fā)中,簡(jiǎn)單的案例說(shuō)明前端頁(yè)面和后端以及mysql數(shù)據(jù)庫(kù)的交互過(guò)程

    ????????首先這是一個(gè)基于 web開發(fā) 的稿子,作者也是轉(zhuǎn)java20天左右,以前也一直迷惑起那段頁(yè)面是如何和后端進(jìn)行交互,數(shù)據(jù)提交提交到了哪里?后端開發(fā)如何獲取到前端提交的數(shù)據(jù)呢?后端數(shù)據(jù)提交到數(shù)據(jù)庫(kù)中應(yīng)該如何處理,接下來(lái)通過(guò)一個(gè)簡(jiǎn)單的例子,登錄案例 (實(shí)

    2024年02月03日
    瀏覽(23)
  • eclipse連接mysql數(shù)據(jù)庫(kù)操作

    eclipse連接mysql數(shù)據(jù)庫(kù)操作

    提示:文章寫完后,目錄可以自動(dòng)生成,如何生成可參考右邊的幫助文檔 文章目錄 目錄 前言 一、mysql數(shù)據(jù)庫(kù) 二、eclipse項(xiàng)目里要有數(shù)據(jù)庫(kù)jar包 1.下載或直接使用已有mysql-connection的jar包 2.eclipse加上MySQL 連接 3.項(xiàng)目執(zhí)行sql文件 總結(jié) 使用eclipse的sql文件實(shí)現(xiàn)數(shù)據(jù)庫(kù)數(shù)據(jù)創(chuàng)建 提示

    2024年02月04日
    瀏覽(25)
  • 使用eclipse連接mysql數(shù)據(jù)庫(kù)步驟

    使用eclipse連接mysql數(shù)據(jù)庫(kù)步驟

    1.導(dǎo)入連接MySQL數(shù)據(jù)庫(kù)驅(qū)動(dòng)包(例如mysql-connector-java-5.1.7-bin.jar),并測(cè)試。 步驟: 1)在eclipse里面點(diǎn)擊右上角的圖標(biāo),如下圖所示。 2)選中Database Connections右鍵,點(diǎn)new。 3)選擇MySQL,點(diǎn)擊next。 4)如圖所示: 2.引用MySQL驅(qū)動(dòng)包jar 在項(xiàng)目右鍵一個(gè)文件夾lib,把驅(qū)動(dòng)包復(fù)制進(jìn)去,

    2024年02月11日
    瀏覽(48)
  • Eclipse與MySQL數(shù)據(jù)庫(kù)的連接(已實(shí)操)

    Eclipse與MySQL數(shù)據(jù)庫(kù)的連接(已實(shí)操)

    今天介紹的是eclipse如何與MySQL相連,相信很多小伙伴和我一樣,對(duì)路徑啊,什么包放在那里啊很是頭疼,今天一下午才弄好就趕來(lái)分享啦,超詳細(xì)哦!?以下為我個(gè)人通過(guò)總結(jié)大家的方法,自己操作以后分享給大家,如有問題,評(píng)論提問,大家商討解決。 準(zhǔn)備工作:下載MyS

    2024年02月03日
    瀏覽(29)
  • 五、C#與數(shù)據(jù)庫(kù)交互(數(shù)據(jù)存儲(chǔ)過(guò)程與觸發(fā)器)

    在C#中與數(shù)據(jù)庫(kù)交互時(shí),除了基本的查詢和更新操作,還經(jīng)常需要使用存儲(chǔ)過(guò)程和觸發(fā)器。下面我將簡(jiǎn)要介紹如何在C#中使用存儲(chǔ)過(guò)程和觸發(fā)器。 存儲(chǔ)過(guò)程 存儲(chǔ)過(guò)程是一組為了完成特定功能的SQL語(yǔ)句集,它可以被存儲(chǔ)在數(shù)據(jù)庫(kù)中,并可以被調(diào)用執(zhí)行。在C#中,你可以使用 Sql

    2024年01月25日
    瀏覽(24)
  • eclipse鏈接數(shù)據(jù)庫(kù),找數(shù)據(jù)庫(kù)jar包,項(xiàng)目導(dǎo)入數(shù)據(jù)庫(kù)jar包,數(shù)據(jù)庫(kù)鏈接測(cè)試,MySQL環(huán)境變量配置。

    eclipse鏈接數(shù)據(jù)庫(kù),找數(shù)據(jù)庫(kù)jar包,項(xiàng)目導(dǎo)入數(shù)據(jù)庫(kù)jar包,數(shù)據(jù)庫(kù)鏈接測(cè)試,MySQL環(huán)境變量配置。

    根據(jù)數(shù)據(jù)庫(kù)版本找對(duì)應(yīng)jar包 eclipse相應(yīng)項(xiàng)目導(dǎo)入jar包 數(shù)據(jù)庫(kù)鏈接測(cè)試 數(shù)據(jù)庫(kù)8以上版本驅(qū)動(dòng)改動(dòng) MySQL環(huán)境變量配置 1. 根據(jù)數(shù)據(jù)庫(kù)版本下載jar包 查看系統(tǒng)數(shù)據(jù)庫(kù)版本下載對(duì)于jar包 Win+r cmd msql -u用戶名 -p密碼(如果不行就是沒有配MySQL環(huán)境變量最后有) 可以看出這是8.0.26版本 j

    2024年02月03日
    瀏覽(22)
  • 《校園宿舍管理系統(tǒng)》之?dāng)?shù)據(jù)庫(kù)程序設(shè)計(jì)/GUI/java/eclipse/MySQL/JDBC

    《校園宿舍管理系統(tǒng)》之?dāng)?shù)據(jù)庫(kù)程序設(shè)計(jì)/GUI/java/eclipse/MySQL/JDBC

    講解視頻鏈接:私信發(fā)! 源碼:私信! 設(shè)計(jì)題目: ?????? ??校園宿舍管理系統(tǒng) ??????? 班 ???級(jí): ? ? ? ? ? ? ? ? ? ? ? ? ? ? ? ?? ? ? ? ??? ?? 組 ???號(hào): ? ? ? ? ? ???????第一組? ? ? ? ? ? ? ? ?? 成 ???員: ? ? ? ? ? ? ? ? ? ? ? ? ? ? ? ?

    2024年02月05日
    瀏覽(20)
  • 【JAVA】Eclipse+MYSQL數(shù)據(jù)庫(kù)+JSP+基礎(chǔ)Servlet開發(fā)JavaWeb學(xué)生信息管理系統(tǒng)

    【JAVA】Eclipse+MYSQL數(shù)據(jù)庫(kù)+JSP+基礎(chǔ)Servlet開發(fā)JavaWeb學(xué)生信息管理系統(tǒng)

    目錄 前言 一、搭建環(huán)境 ?二、功能實(shí)現(xiàn)、 1、? ?登陸界面 注冊(cè)按鈕 2、學(xué)生信息管理系統(tǒng)主界面 3、dao包 ?4、用戶的信息展示,添加,刪除,修改功能(只展示添加代碼) 5、學(xué)生的信息展示,添加,刪除,修改功能(只展示添加代碼) 6、成績(jī)的信息展示,添加,刪除,修

    2024年02月05日
    瀏覽(30)
  • MySQL 數(shù)據(jù)庫(kù)存儲(chǔ)引擎

    MySQL 數(shù)據(jù)庫(kù)存儲(chǔ)引擎

    目錄 一、存儲(chǔ)引擎簡(jiǎn)介 二、MyISAM存儲(chǔ)引擎 1、MylSAM介紹 2、MyISAM表支持3種不同的存儲(chǔ)格式 3、MylSAM的特點(diǎn) 4、MyISAM使用的生產(chǎn)場(chǎng)景 三、InnoDB存儲(chǔ)引擎 1、InnoDB介紹 2、InnoDB的特點(diǎn) 3、InnoDB適用生產(chǎn)場(chǎng)景 4、MyISAM和InnoDB的區(qū)別 四、查看和修改存儲(chǔ)引擎 1、查看系統(tǒng)支持的存儲(chǔ)引擎

    2023年04月25日
    瀏覽(94)
  • JSP在線小說(shuō)系統(tǒng)用eclipse定制開發(fā)mysql數(shù)據(jù)庫(kù)BS模式j(luò)ava編程jdbc

    JSP在線小說(shuō)系統(tǒng)用eclipse定制開發(fā)mysql數(shù)據(jù)庫(kù)BS模式j(luò)ava編程jdbc

    一、源碼特點(diǎn) ?? ? JSP 在線小說(shuō)系統(tǒng)是一套完善的web設(shè)計(jì)系統(tǒng),對(duì)理解JSP java編程開發(fā)語(yǔ)言有幫助,系統(tǒng)具有完整的源代碼和數(shù)據(jù)庫(kù),系統(tǒng)主要采用B/S模式開發(fā)。開發(fā)環(huán)境為 TOMCAT7.0,eclipse開發(fā),數(shù)據(jù)庫(kù)為Mysql5.0,使用java語(yǔ)言開發(fā)。 JSP在線小說(shuō)系統(tǒng)用eclipse定制開發(fā)mysql數(shù)據(jù)庫(kù)

    2024年02月12日
    瀏覽(29)

覺得文章有用就打賞一下文章作者

支付寶掃一掃打賞

博客贊助

微信掃一掃打賞

請(qǐng)作者喝杯咖啡吧~博客贊助

支付寶掃一掃領(lǐng)取紅包,優(yōu)惠每天領(lǐng)

二維碼1

領(lǐng)取紅包

二維碼2

領(lǐng)紅包