MySQLローカルを使用することは可能ですか?私はサーバーではないという意味です。PHP、Joomlaなどを使用するWebサーバーでMySQLについてたくさん読みました。
ソフトウェアをプログラムし、ローカルのデータベースを使用して結果を保存したいと思います。そのためにMySQLを使用できますか?
もしそうなら、ネット上の他のウェアはそれを行うための良いチュートリアルですか?
You can install MySQL on your workstation, it doesn't need to be on a "server" per se. You still need to use something that can connect to it. From a Java application, for instance, you'd use JDBC; from .Net, you'd probably use ADO.Net; etc.
As far as I know, it will still want to have its server process (mysqld) running and for you to connect to that process via sockets and the like; there's no standard in-process version that I'm aware of. (The server can be listening only on the local interface, though.) There are several alternatives if you want in-process stuff, such as SQLite and HSQLDB.
Of course, if you're feeling really enterprising, there's the open source version of MySQL, which means you could compile it into your app (if you're using C or something that can link to it), but I suspect that's going rather too far. :-)
はい、これは魅力のように機能します。
Mysqls ホームページには、これに関する多くの情報があります。
SQLite を使用します。これは人気のある組み込みデータベースです。XCopy を介して展開でき、サーバーをインストールする必要はありません。
ただし、ローカルでのみ使用できます。つまり、後でリモート アクセスを許可することにした場合は、それを MySQL または他のデータベースに移行する必要があります。
サーバーをインストールしたくない場合は、Sqlite に興味があるかもしれません。これは、最も広く展開されている組み込みデータベースであり、パブリック ドメインです。 http://www.sqlite.org/
Firebird も代替手段です。ACID に完全に準拠しており、Interbase Public License の下で実行されます。 http://www.firebirdsql.org/
xamppliteを試してみてください。MySQLが (ローカルの Windows マシンに) 簡単にインストールされ、必要に応じて apache、php、その他の Web アプリがいくつかインストールされます。