Gitiles
Code Review
Sign In
gerrit-public.fairphone.software
/
platform
/
external
/
autotest
/
1bcdd5eeeb9505d1a42e39515539d5d54a994c56
/
.
/
tko
/
db_mysql.py
blob: 37c216b6aaa30d49ec053a1d3c6a59e7182c2ccb [
file
] [
log
] [
blame
]
import
MySQLdb
import
db
class
db_mysql
(
db
.
db_sql
):
def
connect
(
self
,
host
,
database
,
user
,
password
):
return
MySQLdb
.
connect
(
host
=
host
,
user
=
user
,
passwd
=
password
,
db
=
database
)