Tyler-pierce / giza_sphinxsearch

Sphinx Fulltext Search Client for Elixir Projects (Phoenix Example Included)
19 stars 5 forks source link

Fix errors with ':unicode.characters_to_binary' in Mariaex #4

Closed bfolkens closed 4 years ago

bfolkens commented 4 years ago

Startup fails with the following. Appears to be related to https://github.com/xerions/mariaex/issues/246

** (RuntimeError) connect raised ArgumentError exception. The exception details are hidden, as they may contain sensitive data such as database credentials. You may set :show_sensitive_data_on_connection_error to true when starting your connection if you wish to see all of the details
(stdlib 3.12.1) :unicode.characters_to_binary/1
(mariaex 0.9.1) lib/mariaex/protocol.ex:215: Mariaex.Protocol.handle_handshake/3
(mariaex 0.9.1) lib/mariaex/protocol.ex:171: Mariaex.Protocol.handshake_recv/2
(db_connection 2.2.2) lib/db_connection/connection.ex:69: DBConnection.Connection.connect/2
(connection 1.0.4) lib/connection.ex:622: Connection.enter_connect/5
(stdlib 3.12.1) proc_lib.erl:249: :proc_lib.init_p_do_apply/3