Class MySQLConnection


  • public class MySQLConnection
    extends SQLConnection
    Represents connection to a MySQL database. Extends SQLConnection.
    Author:
    Samuel Alarco Cantos
    • Field Detail

      • props

        protected java.util.Properties props
      • url

        protected java.lang.String url
    • Constructor Detail

      • MySQLConnection

        public MySQLConnection​(java.lang.String user,
                               java.lang.String password,
                               java.lang.String url)
        Constructor taking in user, password, and url strings
        Parameters:
        user -
        assword -
        url -
      • MySQLConnection

        public MySQLConnection​(java.lang.String url)
        Constructor with full url
        Parameters:
        url -
      • MySQLConnection

        public MySQLConnection​(java.lang.String url,
                               java.util.Properties props)
        Constructor with url and pre-made Properties object
        Parameters:
        url -
        Properties - props