[bonfiredemokit] Annotation of /ea/db.py
Annotation of /ea/db.py
Parent Directory
| Revision Log
Revision 9 -
(view)
(download)
(as text)
1 : |
agomez |
9 |
#
|
2 : |
|
|
# BonFIRE Virtual Clusters on Federated Clouds Demonstration Kit
|
3 : |
|
|
#
|
4 : |
|
|
# Copyright (c) Fundacion Centro Tecnologico de Supercomputacion de Galicia 2012
|
5 : |
|
|
#
|
6 : |
|
|
# License GPL Version 3
|
7 : |
|
|
#
|
8 : |
|
|
# The research leading to these results has received funding from
|
9 : |
|
|
# the European Community's Seventh Frameqork Programme (FP7/2007-2013)
|
10 : |
|
|
# under agreement number 257386
|
11 : |
|
|
#
|
12 : |
|
|
# This software is provided with ABSOLUTELY NO WARRANTY
|
13 : |
|
|
#
|
14 : |
agomez |
1 |
'''
|
15 : |
|
|
Created on 24/04/2012
|
16 : |
|
|
|
17 : |
|
|
@author: R. Valin
|
18 : |
|
|
'''
|
19 : |
|
|
|
20 : |
|
|
import _mysql as sql
|
21 : |
|
|
|
22 : |
|
|
db=sql.connect('193.144.44.188', 'raul', 'cesga12', 'clusters', 3306)
|
23 : |
|
|
|
24 : |
|
|
sql.get_client_info()
|
25 : |
|
|
|
|