Jump to content

nickyb

Members
  • Posts

    15
  • Joined

  • Last visited

Community Answers

  1. nickyb's post in Can’t Connect To MySQL Server was marked as the answer   
    Since everything is hosted locally I was able to resolve this by adding an option in sql.ccp to disable ssl.
    Sql* Sql_Malloc(void) {     Sql* self;     CREATE(self, Sql, 1);     mysql_init(&self->handle);     StringBuf_Init(&self->buf);     self->lengths = NULL;     self->result = NULL;     self->keepalive = INVALID_TIMER;     my_bool reconnect = 1;     int sslmode = 1;     mysql_options(&self->handle, MYSQL_OPT_RECONNECT, &reconnect);     mysql_options(&self->handle, MYSQL_OPT_SSL_MODE, &sslmode);     return self; }  
×
×
  • Create New...