Advertisement
Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- #include <stdio.h>
- #include <stdlib.h>
- #include <mysql.h>
- int main () {
- MYSQL *conn;
- char *server = "localhost";
- char *user = "root";
- char *password = "";
- char *database = "database";
- int port = 3306;
- conn = mysql_init(NULL);
- mysql_real_connect(conn, server,user,password,database, port, NULL, 0);
- return 0;
- }
- <terminated> (exit value: -1,073,741,515)
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement