ITeye博客

MySQL 服务器构建

origin100 · 2008-08-25 13:50 · WEB · Markdown

公司在Windows 2003上构建一个MySQL数据库服务器 步骤: 1、安装MySQL服务器(主要安装过程中字符集选择:UTF-8) 2、创建数据库,创建数据库表。 3、分配权限(http://blog.chinaunix.net/u1/41559/showart_716294.html)

评论(2)

  1. #2 楼 · shellfish · 2008-08-25 16:58

    一种方案,感觉不是很简练,不过也解决了问题。可能用递归会更简洁吧。

    public class IndexText { public static void main(String args) { String varString="C:\TEST\\ADMINISTRATOR\\3\\C:\TEST\\c:\test\e.exe\\3\\C:\TEST\TEMP\TEMP_IMAGE.BMP\\GUEST\\3\\"; String strNew = varString.replace("\\","@"); String strSplit=strNew.split("@"); for (int i = 0; i <strSplit.length; i++) { if((i+1) % 3 == 0){ System.err.println(strSplit.concat("\\").concat(strSplit).concat("\\"). concat(strSplit*).concat("\\")); } } } }

  2. #1 楼 · ddandyy · 2008-08-25 14:32

    str.indexof()不就完事了么

评论功能维护中,当前仅展示历史评论。