<?php
include_once $_SERVER['DOCUMENT_ROOT'] . '/include/shared-manual.inc';
$TOC = array();
$TOC_DEPRECATED = array();
$PARENTS = array();
include_once dirname(__FILE__) ."/toc/book.mysql.inc";
$setup = array (
  'home' => 
  array (
    0 => 'index.php',
    1 => 'PHP Manual',
  ),
  'head' => 
  array (
    0 => 'UTF-8',
    1 => 'ja',
  ),
  'this' => 
  array (
    0 => 'ref.mysql.php',
    1 => 'MySQL 関数',
    2 => 'MySQL 関数',
  ),
  'up' => 
  array (
    0 => 'book.mysql.php',
    1 => 'MySQL (最初の API)',
  ),
  'prev' => 
  array (
    0 => 'mysql.examples-basic.php',
    1 => 'MySQL 拡張モジュールの概要を示す例',
  ),
  'next' => 
  array (
    0 => 'function.mysql-affected-rows.php',
    1 => 'mysql_affected_rows',
  ),
  'alternatives' => 
  array (
  ),
  'source' => 
  array (
    'lang' => 'ja',
    'path' => 'reference/mysql/reference.xml',
  ),
  'history' => 
  array (
  ),
  'extra_header_links' => 
  array (
    'rel' => 'alternate',
    'href' => '/manual/en/feeds/ref.mysql.atom',
    'type' => 'application/atom+xml',
  ),
);
$setup["toc"] = $TOC;
$setup["toc_deprecated"] = $TOC_DEPRECATED;
$setup["parents"] = $PARENTS;
manual_setup($setup);

contributors($setup);

?>
<div id="ref.mysql" class="reference">
  <h1 class="title">MySQL 関数</h1>

  <div class="partintro">
   <div class="section" id="mysql.notes">
   <h2 class="title">注意</h2>
    <blockquote class="note"><p><strong class="note">注意</strong>: 
     <span class="simpara">
      ほとんどの MySQL 関数は、<code class="parameter">link_identifier</code> を
      最後のパラメータとしてオプションで受け付けます。これを指定しなかった場合、
      直近にオープンされた接続が使用されます。もし直近の接続が存在しない場合、
      <var class="filename">php.ini</var> のデフォルトパラメータを使用して接続を確立しようとします。
      この試行にも失敗した場合、関数は <strong><code><a href="reserved.constants.php#constant.false">false</a></code></strong> を返します。
     </span>
    </p></blockquote>
   </div>
  </div>








































































































































































































































































































































 <h2>目次</h2><ul class="chunklist chunklist_reference"><li><a href="function.mysql-affected-rows.php">mysql_affected_rows</a> — 一番最近の操作で変更された行の数を得る</li><li><a href="function.mysql-client-encoding.php">mysql_client_encoding</a> — 文字セット名を返す</li><li><a href="function.mysql-close.php">mysql_close</a> — MySQL 接続を閉じる</li><li><a href="function.mysql-connect.php">mysql_connect</a> — MySQL サーバーへの接続をオープンする</li><li><a href="function.mysql-create-db.php">mysql_create_db</a> — MySQL データベースを作成する</li><li><a href="function.mysql-data-seek.php">mysql_data_seek</a> — 内部的な結果ポインタを移動する</li><li><a href="function.mysql-db-name.php">mysql_db_name</a> — mysql_list_dbs のコール結果からデータベース名を取得する</li><li><a href="function.mysql-db-query.php">mysql_db_query</a> — データベースを選択し、そこでクエリーを実行する</li><li><a href="function.mysql-drop-db.php">mysql_drop_db</a> — MySQLデータベースを破棄(削除)する</li><li><a href="function.mysql-errno.php">mysql_errno</a> — 直近の MySQL 処理からエラーメッセージのエラー番号を返す</li><li><a href="function.mysql-error.php">mysql_error</a> — 直近に実行された MySQL 操作のエラーメッセージを返す</li><li><a href="function.mysql-escape-string.php">mysql_escape_string</a> — mysql_query で使用するために文字列をエスケープする</li><li><a href="function.mysql-fetch-array.php">mysql_fetch_array</a> — 連想配列、添字配列、またはその両方として結果の行を取得する</li><li><a href="function.mysql-fetch-assoc.php">mysql_fetch_assoc</a> — 連想配列として結果の行を取得する</li><li><a href="function.mysql-fetch-field.php">mysql_fetch_field</a> — 結果からカラム情報を取得し、オブジェクトとして返す</li><li><a href="function.mysql-fetch-lengths.php">mysql_fetch_lengths</a> — 結果における各出力の長さを得る</li><li><a href="function.mysql-fetch-object.php">mysql_fetch_object</a> — 結果の行をオブジェクトとして取得する</li><li><a href="function.mysql-fetch-row.php">mysql_fetch_row</a> — 結果を添字配列として取得する</li><li><a href="function.mysql-field-flags.php">mysql_field_flags</a> — 結果において指定したフィールドのフラグを取得する</li><li><a href="function.mysql-field-len.php">mysql_field_len</a> — 指定したフィールドの長さを返す</li><li><a href="function.mysql-field-name.php">mysql_field_name</a> — 結果において指定したフィールド名を取得する</li><li><a href="function.mysql-field-seek.php">mysql_field_seek</a> — 結果ポインタを指定したフィールドオフセットにセットする</li><li><a href="function.mysql-field-table.php">mysql_field_table</a> — 指定したフィールドが含まれるテーブルの名前を取得する</li><li><a href="function.mysql-field-type.php">mysql_field_type</a> — 結果において指定したフィールドの型を取得する</li><li><a href="function.mysql-free-result.php">mysql_free_result</a> — 結果保持用メモリを開放する</li><li><a href="function.mysql-get-client-info.php">mysql_get_client_info</a> — MySQL クライアント情報を取得する</li><li><a href="function.mysql-get-host-info.php">mysql_get_host_info</a> — MySQL ホスト情報を取得する</li><li><a href="function.mysql-get-proto-info.php">mysql_get_proto_info</a> — MySQL プロトコル情報を取得する</li><li><a href="function.mysql-get-server-info.php">mysql_get_server_info</a> — MySQL サーバー情報を取得する</li><li><a href="function.mysql-info.php">mysql_info</a> — 直近のクエリについての情報を得る</li><li><a href="function.mysql-insert-id.php">mysql_insert_id</a> — 直近のクエリで生成された ID を得る</li><li><a href="function.mysql-list-dbs.php">mysql_list_dbs</a> — MySQL サーバー上で利用可能なデータベースのリストを得る</li><li><a href="function.mysql-list-fields.php">mysql_list_fields</a> — MySQL テーブルのフィールドのリストを得る</li><li><a href="function.mysql-list-processes.php">mysql_list_processes</a> — MySQL プロセスのリストを得る</li><li><a href="function.mysql-list-tables.php">mysql_list_tables</a> — MySQL データベース上のテーブルのリストを得る</li><li><a href="function.mysql-num-fields.php">mysql_num_fields</a> — 結果におけるフィールドの数を得る</li><li><a href="function.mysql-num-rows.php">mysql_num_rows</a> — 結果における行の数を得る</li><li><a href="function.mysql-pconnect.php">mysql_pconnect</a> — MySQL サーバーへの持続的な接続をオープンする</li><li><a href="function.mysql-ping.php">mysql_ping</a> — サーバーとの接続状況を調べ、接続されていない場合は再接続する</li><li><a href="function.mysql-query.php">mysql_query</a> — MySQL クエリを送信する</li><li><a href="function.mysql-real-escape-string.php">mysql_real_escape_string</a> — SQL 文中で用いる文字列の特殊文字をエスケープする</li><li><a href="function.mysql-result.php">mysql_result</a> — 結果データを得る</li><li><a href="function.mysql-select-db.php">mysql_select_db</a> — MySQL データベースを選択する</li><li><a href="function.mysql-set-charset.php">mysql_set_charset</a> — クライアントの文字セットを設定する</li><li><a href="function.mysql-stat.php">mysql_stat</a> — 現在のシステムの状態を取得する</li><li><a href="function.mysql-tablename.php">mysql_tablename</a> — フィールドのテーブル名を得る</li><li><a href="function.mysql-thread-id.php">mysql_thread_id</a> — カレントのスレッド ID を返す</li><li><a href="function.mysql-unbuffered-query.php">mysql_unbuffered_query</a> — MySQL に SQL クエリを送信するが、結果に対してのフェッチやバッファリングは行わない</li></ul>
</div>
<?php manual_footer($setup); ?>