![]() We can load driver in two different ways, theses are : To load driver before connection, you must know the full class name of You have to paste it in "lib" folder of "jdk" directory. Note: You can Download Mysql Connector From the site " ". Oracle JDBC Driver(TYPE 4) MySql Connector JDBC driver.Jdbc:odbc:dsn_name UID=your_userid PWD=your_password ![]() Machine name, port, database name or instance etc. While "subname " provide additional information like host name or "subprotocol" represents the type of database you want to connect. In this URL string, the first string "jdbc" represents the protocol name, All database should be connect toĭatabase using these URL strings. JDBC Uniform resource locater or 'JDBC URL' is used to identify aĭatabase using a unique name or address. In this Section, We will discuss about following topics : In this Section, We will discuss about JDBC Database URL,specifying a JDBC driver name,Connection to a database table.
0 Comments
Leave a Reply. |
AuthorWrite something about yourself. No need to be fancy, just an overview. ArchivesCategories |