aRTconn                 package:aRT                 R Documentation

_C_l_a_s_s _a_R_T_c_o_n_n

_D_e_s_c_r_i_p_t_i_o_n:

     Class that stores a virtual DBMA connection and manipulates
     databases. The connection is virtual because each time a function
     is called, it connects, does something and then disconnects.

_O_b_j_e_c_t_s _f_r_o_m _t_h_e _C_l_a_s_s:

     Objects can be created by calls of the form 'openConn(user,
     password, port, host)'.

_A_r_g_u_m_e_n_t_s:

     _u_s_e_r User of the DBMA. The default is the user logged in the
          system.

     _p_a_s_s_w_o_r_d The password, default is "".

     _p_o_r_t Port of the connection,  default value is 3306.

     _h_o_s_t Host to connect, default is "localhost".

_E_x_t_e_n_d_s:

     Class 'aRTcomponent', directly.

_M_e_t_h_o_d_s:

     _a_d_d_U_s_e_r: Grants ALL permissions on the DBMS to a user.

     _c_r_e_a_t_e_D_b: Creates a new database and returns a connection to it.

     _d_e_l_e_t_e_D_b: Removes a database from the DBMS.

     _o_p_e_n_D_b: Opens an existent database from the DBMS.

     _s_h_o_w_D_b_s: Shows the avilable databases.

_A_u_t_h_o_r(_s):

     Marcos Aurelio Carrero, Pedro Ribeiro de Andrade Neto

_S_e_e _A_l_s_o:

     See 'aRT' the package organization.

