
    2i{                     *    S SK rS SK Jr  SSKJr  S rg)    N)Error   )Configc                  l    [         R                  R                  [        R                  [        R
                  [        R                  [        R                  [        R                  S9n U R                  5       (       a  U $ U R                  5         g! [         a  n[        SU 35         SnAgSnAff = f)z-Establish a connection to the MySQL database.)hostportuserpassworddatabaseNz2DEBUG: FATAL: Error connecting to MySQL database: )mysql	connectorconnectr   DB_HOSTDB_PORTDB_USERDB_PASSWORDDB_NAMEis_connectedcloser   print)connes     ./var/www/fran/franai/services/mysql_service.pyget_db_connectionr      s    &&''^^ ' 
 KJJL B1#FGs   A=B  B 
B3B..B3)mysql.connectorr   r   configr   r        r   <module>r      s     ! r   