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.

