Home Forums Kamanja Forums Problems & Solutions Use of MySQL storage adapter for other RDBMS

This topic contains 2 replies, has 2 voices, and was last updated by  Koushik Kulkarni 1 year, 2 months ago.

  • Author
    Posts
  • #19445 Reply

    Koushik Kulkarni
    Participant

    hi all,

    Can you please let me know if the MySQL storage adapter can be used for other RDBMS DBs? Also please confirm that this is still being supported in the latest Kamanja release.

  • #19478 Reply

    William
    Keymaster

    Hi Koushik,

    While we have code for MySQL, it is currently unsupported and untested. It isn’t even packaged in the release binaries.

    To answer your question, however, no, I don’t believe it could be used for other RDBMS DBs. In MySqlAdapter.scala, on lines 223 and 224 I see the below lines.

    As you can see, we have ‘mysql’ hard-coded into the connection strings, eliminating any possibility of connecting to anything except mysql.

    var jdbcUrl = "jdbc:mysql://" + sqlServerInstance + "/" + database + "?user=" + user + "?password=" + password
    var jdbcUrl1 = "jdbc:mysql://" + sqlServerInstance + "/" + database
    
    • This reply was modified 1 year, 2 months ago by  William.
  • #19523 Reply

    Koushik Kulkarni
    Participant

    Thanks William!

Reply To: Use of MySQL storage adapter for other RDBMS
Your information: