Changes between Version 5 and Version 6 of waue/2010/0831


Ignore:
Timestamp:
Sep 3, 2010, 12:12:24 PM (14 years ago)
Author:
waue
Comment:

--

Legend:

Unmodified
Added
Removed
Modified
  • waue/2010/0831

    v5 v6  
    2929 * [http://www.mysql.com/products/connector/ mysql 的 jdbc 驅動程式]
    3030
     31= mysql 遠端登入方法 =
    3132
     33/etc/mysql/my.cnf
     34{{{
     35#!text
     36# bind-address 127.0.0.1
     37bind-address your_ip_address
     38}}}
    3239
    3340{{{
     41$ sudo /etc/init.d/mysql restart
     42$ mysql -u root -p
     43
    3444mysql> grant all on school.* to waue identified by 'wauenchc' with grant option;
     45mysql> exit
     46
     47$ mysql -h your_ip_address -u waue -p "wauenchc"
    3548
    3649}}}
     50
     51出現 mysql> 則代表成功