1 개요[ | ]
- PHP Data Objects; PDO
- PHP 데이터 객체, PHP 데이터 오브젝트
- PHP용 경량 데이터베이스 인터페이스
- PHP 5.1부터 사용가능[1]
- 지원하는 DB: CUBRID, MS SQL 서버, MySQL, Oracle, PostgreSQL, SQLite 등
- 프리페어드 스테이트먼트(prepared statement) 지원
PHP
Copy
$dbh = new PDO('mysql:host=localhost;dbname=test', $user, $pass);
2 같이 보기[ | ]
- 리눅스 php-pdo 설치
- 우분투 pdo_mysql 설치
- lib_pdo.php
- 프리페어드 스테이트먼트 (prepared statement)
- PHP Fatal error: Class 'PDO' not found
- PHP Fatal error: Uncaught exception 'PDOException' with message 'could not find driver'
- Perl DBI
3 참고[ | ]
- ↑ PHP 5.0에서는 PECL 확장기능으로 가능
편집자 Jmnote Jmnote bot
로그인하시면 댓글을 쓸 수 있습니다.