MySQL –增加用户
CREATE USER ‘user1′@’%’ IDENTIFIED BY ‘xxxxxxxx’;GRANT ALL PRIVILEGES ON *.* TO ‘user1′@’%'; http://dev.mysql.com/doc/refman/5.1/en/adding-users.html
View ArticleMSSQL – How to Connect to SQL Server Running on Non Standard Port
An almost universal format to specify port with host name is in this way, “ServerName:ServerPort”. For instance 127.0.0.1:1433. However SQL Server doesn’t take this format. It has its own format,...
View ArticleNTU – MySQL Lab Practice
set path=%path%;D:\test\mysql\bin mysqld –console mysql -u root CREATE DATABASE southwind;use southwindselect database(); show tables; CREATE TABLE IF NOT EXISTS products ( productID INT UNSIGNED NOT...
View ArticleDatabase – Crow’s Foot Notation (the one-to-many Symbol)
Crow’s Foot Notation is used in ERD (Entity Relationship Diagram), which is widely used in database table designing. It is used to denote the following relationships between entities. One-to-One...
View ArticleDatabase – MySQL ODBC Driver “architecture mismatch” Error on Win7 64-bit
OS: Windows 7 64-bit Application using the ODBC Data Soruce: Excel of Office 2010 Pro 32-bit ODBC Driver: mysql-connector-odbc-5.2.5-winx64.msi Error Message: [Microsoft][ODBC Driver Manager] The...
View ArticleOracle – Oracle Certified Associate – Oracle Database 12c
Oracle Database 12c – Certified Database Associate Certification Path Step 1 Pass one SQL Exam: Oracle Database 12c: SQL Fundamentals 1Z0-061 or Oracle Database 11g: SQL Fundamentals I 1Z0-051 orp...
View ArticleEducation – Introduction to Databases
Solutions to Selected Exerciseshttp://infolab.stanford.edu/~ullman/dscbsols/solsfc.html Lecture Notes PPThttp://infolab.stanford.edu/~ullman/fcdb/aut07/index.html#lecture First Course in Database...
View ArticleORACLE – Inistall Oracle Database 12c on Windows
== Install Oracle Database Software == 1. Download Oracle Database Software Microsoft Windows x64 (64-bit) (filename: winx64_12201_database.zip) from...
View ArticleORACLE – Install the HR Schema from Oracle Database Examples
1. Click the “See All” link next to Oracle Database Software Download link to find and download the “Oracle Database Examples” .zip file 2. unzip the .zip file and run “setup.exe” 3. Log on to SQL*Plus...
View ArticleOracle – How to Remove Oracle Database 12c on Windows Manually
1. Remove Oracle path from Environment Variable “Path” 2. Remove RegistriesHKEY_LOCAL_MACHINE\SOFTWARE\ORACLEHKEY_LOCAL_MACHINE\SYSTEM\CurrentControlSet\Services\OracleXXXXX 3. restart computer...
View Article