2012年3月25日

linux 笔记: mysql : basic commands

摘要: login mysql1. login without passwordmysql -h hostname -u rootormysql -u root2. promp passwordmysql -u root -p3. input password in command linemysql -u root -pMYPASSWORDormysql -u root --password=MYPASSWORD4. login to a database(like mysql)mysql -u root -pXXXX mysql*********************************** 阅读全文

posted @ 2012-03-25 23:32 learner 阅读(248) 评论(0) 推荐(0) 编辑

linux 笔记: mysql : install and primary usage

摘要: install --sudo apt-get install mysql-serversudo apt-get install mysql-cliententer my sql query tool:mysql --user=root --password=xxxcommands:-- show all databasesshow databases;-- change databaseUSE mysql;-- check how many users are there in current databaseselect host,user,password from user;-- add 阅读全文

posted @ 2012-03-25 16:38 learner 阅读(219) 评论(0) 推荐(0) 编辑

c# : use xsd 校验 xml

摘要: 1usingSystem;2usingSystem.Collections.Generic;3usingSystem.Linq;4usingSystem.Text;5usingSystem.Xml;6usingSystem.Diagnostics;7usingSystem.Xml.Schema;8usingSystem.Xml.Linq;910namespaceXsdValidator11{12classProgram13{14staticvoidMain(string[]args)15{1617//Debug.Assert(false);18InputArgumentParser.Inst. 阅读全文

posted @ 2012-03-25 15:43 learner 阅读(663) 评论(0) 推荐(0) 编辑

Java : use xsd 校验 xml

摘要: 1importjavax.xml.parsers.DocumentBuilder;2importjavax.xml.parsers.DocumentBuilderFactory;34importorg.w3c.dom.Document;5importorg.xml.sax.ErrorHandler;6importorg.xml.sax.InputSource;7importorg.xml.sax.SAXException;8importorg.xml.sax.SAXParseException;910importjava.io.*;11importjavax.xml.transform.Sou 阅读全文

posted @ 2012-03-25 15:41 learner 阅读(963) 评论(0) 推荐(0) 编辑

导航