MySQL5.xをDBDesigner4やCSEで扱う方法

MySQL5, Database, XREA.COM

09:22:51, by admin Email , 37 words, 4085 views   Japanese (JP) del.icio.us

ハマッた。

(ノ・・)ン。。。。。。(((●コロコロッ

XREA.COMで実験。
あらかじめ以下のSQLを発行しておく。
ユーザー名:hain
パスワード:hain_password
ホスト:localhost
とすると
set password for hain@localhost = old_password('hain_password');


あとは、SSHのPort Fowardingでポート3306を自前PC(localhost)の3306につなげればOK。
cakePHPSymfonyのようなRails系のフレームワークでの開発がやりやすくなるだろう。
phpmyadminとかいらんし。
初回SQLを発行する前にSET NAMESは忘れずに。
ODBCなしでいける反面、Initial Statementは自前で発行しなきゃならないので。

CSEでは権限エラーメッセージが出たが、
無視して良いだろう。

[More:]


旧MySQL対応アプリケーションは、
MySQL4からMySQL5にバージョンアップされた時に変わったパスワードの仕様が追随できていないらしい。
そこでサーバ側で取り扱うパスワードを旧形式のものに変更しておくことで、
MySQL3, 4のアプリケーションで取り扱えるようにするわけだ。

Trackback address for this post:

http://hain.jp/htsrv/trackback.php/153

Comments, Trackbacks:

No Comments/Trackbacks for this post yet...

Leave a comment:

Your email address will not be displayed on this site.
Your URL will be displayed.

Allowed XHTML tags: <p, ul, ol, li, dl, dt, dd, address, blockquote, ins, del, span, bdo, br, em, strong, dfn, code, samp, kdb, var, cite, abbr, acronym, q, sub, sup, tt, i, b, big, small>
(Line breaks become <br />)
(Set cookies for name, email and url)
(Allow users to contact you through a message form (your email will NOT be displayed.))
This is a captcha-picture. It is used to prevent mass-access by robots.

Please enter the characters from the image above. (case insensitive)

powered by b2evolution

shinobi

Neighbors
Relative
Favorites
PR

極論istの技術屋を始めて早幾年。 流れの速い業界の波にもまれながらも精一杯生きている様をとくとごらんあれ。

Archives
スポンサー

Latest bookmark
Search

Categories

Who's Online?
Misc
Syndicate this blog XML

Valid XHTML 1.0! Valid CSS! Valid RSS 2.0! Valid Atom 1.0!