スキップしてメイン コンテンツに移動

Visual Studio 2012 Express とMySQLとの格闘

Visual Studio 2012 ExpressからMySQLが使えない…昨日大はまりした…

なぜだ?

ということで、MySQL Connectorを再インストールしてみた。これもダメ。
.Netのmachine.configを確認したところ、MySQLの項目がなかったので、追加してみた。これもダメ。

色々調べてるうちに、Expressではデータプロバイダが表示されないような事が書いてあるページを発見。
いざ、Visual Studio 2012の90日評価版をインストール。インストール直後は、データソースの一覧にもデータプロバイダの一覧にも表示されなかった。
え~~~ようわからん…ドツボにはまってしまった。が、よ~~く考えた。

普通、Visual Studio をインストールした後、MySQLだよな?ってか、Connectorだよな~でも、すでに入ってるからじゃね??と思い、MySQLをすべて入れなおしてみた。

やっと、今朝になって、MySQLがVisual Studio 2012から操作できるようになった。

やっぱVS買わんと、ダメかなぁ~~頭が痛い…


ちなみに、最近MySQLを触ってなかったのだが、MySQL Installer 5.6 for Windowsなるものの存在を知った。今回初めて使って「ん~ちょっと知識あったら、だれでもすぐにMySQL使えるじゃん…」と感じてしまった。

コメント

このブログの人気の投稿

MySQL NotifierがHigh Severity Errorを出して立ち上がらない…

先日、わしのPCがコンセントが抜けかけが原因で落ちて以来、MySQLのNotifierがエラーを出して立ち上がらなくなった… 1週間放置しておいたが、毎日エラーダイアログが表示されるのも目障りなので、対処してみた。 結果、 %APPDATA%\Oracle\MySQL Notifier にある settings.config が壊れていることが判り、削除し解決した。 なんでこんなものが壊れたのかは不明…

Sun Fire V120のディスクの消去

Sunの撤去が決まったので、ディスクの消去のために色々調べてた結果です ■USB光学ドライブからBoot出来るかの資料 Can I boot from a USB disk or USB CD/DVD drive? Generally speaking, booting from USB disk, CD/DVD drive is supported on x86 platforms with S10 update 1 and later if the BIOS has USB 2.0 support. Sparc systems with USB 2.0 support can boot from USB disks if the OBP(Open Boot Prom) is upgraded to version 4.27 or later. Before you can boot Solaris from USB disk, you have to install Solaris on the disk first. Installing on USB memory sticks is not recommended as the number of writes to these sticks is limited. Problems observed on some hardware platforms: -Installation from USB CD/DVD drive starts, but then fails with "not finding media" error. This is because the CD/DVD drive is not mounted under the /cdrom directory as the installation process expects. Possible workaround is to re-plug in the CD/DVD drive, and make sure the device is in the device tree and the /dev/dsk/ link is correctly created, and mount i...