Cant compile embedded mysql server in Windows
Hello, I want to use embedded MySQL server library. I downloaded the latest MySQL 4.1.1 source and unzipped. I opened up mysql.dsw and set libmysqld as active project. Using Build-Rebuild All.. I started compiling it. After all the related projects were compiled I am getting the following error while linking: Linking... libmysqld.def : error LNK2001: unresolved external symbol max_allowed_packet libmysqld.def : error LNK2001: unresolved external symbol myodbc_remove_escape libmysqld.def : error LNK2001: unresolved external symbol mysql_affected_rows libmysqld.def : error LNK2001: unresolved external symbol mysql_autocommit libmysqld.def : error LNK2001: unresolved external symbol mysql_change_user libmysqld.def : error LNK2001: unresolved external symbol mysql_character_set_name libmysqld.def : error LNK2001: unresolved external symbol mysql_close libmysqld.def : error LNK2001: unresolved external symbol mysql_commit libmysqld.def : error LNK2001: unresolved external symbol mysql_data_seek libmysqld.def : error LNK2001: unresolved external symbol mysql_debug libmysqld.def : error LNK2001: unresolved external symbol mysql_dump_debug_info libmysqld.def : error LNK2001: unresolved external symbol mysql_eof libmysqld.def : error LNK2001: unresolved external symbol mysql_errno libmysqld.def : error LNK2001: unresolved external symbol mysql_error libmysqld.def : error LNK2001: unresolved external symbol mysql_escape_string libmysqld.def : error LNK2001: unresolved external symbol mysql_fetch_field libmysqld.def : error LNK2001: unresolved external symbol mysql_fetch_field_direct libmysqld.def : error LNK2001: unresolved external symbol mysql_fetch_fields libmysqld.def : error LNK2001: unresolved external symbol mysql_fetch_lengths libmysqld.def : error LNK2001: unresolved external symbol mysql_fetch_row libmysqld.def : error LNK2001: unresolved external symbol mysql_field_count libmysqld.def : error LNK2001: unresolved external symbol mysql_field_seek libmysqld.def : error LNK2001: unresolved external symbol mysql_field_tell libmysqld.def : error LNK2001: unresolved external symbol mysql_free_result libmysqld.def : error LNK2001: unresolved external symbol mysql_get_client_info libmysqld.def : error LNK2001: unresolved external symbol mysql_get_host_info libmysqld.def : error LNK2001: unresolved external symbol mysql_get_proto_info libmysqld.def : error LNK2001: unresolved external symbol mysql_get_server_info libmysqld.def : error LNK2001: unresolved external symbol mysql_get_server_version libmysqld.def : error LNK2001: unresolved external symbol mysql_info libmysqld.def : error LNK2001: unresolved external symbol mysql_init libmysqld.def : error LNK2001: unresolved external symbol mysql_insert_id libmysqld.def : error LNK2001: unresolved external symbol mysql_kill libmysqld.def : error LNK2001: unresolved external symbol mysql_list_dbs libmysqld.def : error LNK2001: unresolved external symbol mysql_list_fields libmysqld.def : error LNK2001: unresolved external symbol mysql_list_processes libmysqld.def : error LNK2001: unresolved external symbol mysql_list_tables libmysqld.def : error LNK2001: unresolved external symbol mysql_more_results libmysqld.def : error LNK2001: unresolved external symbol mysql_next_result libmysqld.def : error LNK2001: unresolved external symbol mysql_num_fields libmysqld.def : error LNK2001: unresolved external symbol mysql_num_rows libmysqld.def : error LNK2001: unresolved external symbol mysql_odbc_escape_string libmysqld.def : error LNK2001: unresolved external symbol mysql_options libmysqld.def : error LNK2001: unresolved external symbol mysql_ping libmysqld.def : error LNK2001: unresolved external symbol mysql_query libmysqld.def : error LNK2001: unresolved external symbol mysql_read_query_result libmysqld.def : error LNK2001: unresolved external symbol mysql_real_escape_string libmysqld.def : error LNK2001: unresolved external symbol mysql_real_query libmysqld.def : error LNK2001: unresolved external symbol mysql_refresh libmysqld.def : error LNK2001: unresolved external symbol mysql_rollback libmysqld.def : error LNK2001: unresolved external symbol mysql_row_seek libmysqld.def : error LNK2001: unresolved external symbol mysql_row_tell libmysqld.def : error LNK2001: unresolved external symbol mysql_select_db libmysqld.def : error LNK2001: unresolved external symbol mysql_send_query libmysqld.def : error LNK2001: unresolved external symbol mysql_server_end libmysqld.def : error LNK2001: unresolved external symbol mysql_server_init libmysqld.def : error LNK2001: unresolved external symbol mysql_shutdown libmysqld.def : error LNK2001: unresolved external symbol mysql_sqlstate libmysqld.def : error LNK2001: unresolved external symbol mysql_ssl_set libmysqld.def : error LNK2001: unresolved external symbol mysql_stat libmysqld.def : error LNK2001: unresolved external symbol mysql_store_result libmysqld.def : error LNK2001: unresolved external symbol mysql_thread_id libmysqld.def
Re: Cant compile embedded mysql server in Windows
Karam Chand wrote: Hello, I want to use embedded MySQL server library. I downloaded the latest MySQL 4.1.1 source and unzipped. I opened up mysql.dsw and set libmysqld as active project. Using Build-Rebuild All.. I started compiling it. After all the related projects were compiled I am getting the following error while linking: Linking... ---8 You can download the .zip (precompiled) file from mysql.com and save a lot of time. Best Regards! -- |...| | _ _|Victor Medina M | |\ \ \| | _ \ / \ |Linux - Java - MySQL | | \ \ \ _| | |_) / _ \ |Dpto. Sistemas - Ferreteria EPA | | / / / |___| __/ ___ \ |[EMAIL PROTECTED] | |/_/_/|_|_| /_/ \_\|Tel: +58-241-8507325 - ext. 325 | ||Cel: +58-412-8859934 | ||geek by nature - linux by choice | |...| -- MySQL General Mailing List For list archives: http://lists.mysql.com/mysql To unsubscribe:http://lists.mysql.com/[EMAIL PROTECTED]
Re: Cant compile embedded mysql server in Windows
Hello, I want a debuggable compiled library. Is Deug version of embedded server available. Karam --- Victor Medina [EMAIL PROTECTED] wrote: Karam Chand wrote: Hello, I want to use embedded MySQL server library. I downloaded the latest MySQL 4.1.1 source and unzipped. I opened up mysql.dsw and set libmysqld as active project. Using Build-Rebuild All.. I started compiling it. After all the related projects were compiled I am getting the following error while linking: Linking... ---8 You can download the .zip (precompiled) file from mysql.com and save a lot of time. Best Regards! -- |...| | _ _|Victor Medina M | |\ \ \| | _ \ / \ |Linux - Java - MySQL | | \ \ \ _| | |_) / _ \ |Dpto. Sistemas - Ferreteria EPA | | / / / |___| __/ ___ \ |[EMAIL PROTECTED] | |/_/_/|_|_| /_/ \_\|Tel: +58-241-8507325 - ext. 325 | ||Cel: +58-412-8859934 | ||geek by nature - linux by choice | |...| -- MySQL General Mailing List For list archives: http://lists.mysql.com/mysql To unsubscribe: http://lists.mysql.com/[EMAIL PROTECTED] __ Do you Yahoo!? Yahoo! Small Business $15K Web Design Giveaway http://promotions.yahoo.com/design_giveaway/ -- MySQL General Mailing List For list archives: http://lists.mysql.com/mysql To unsubscribe:http://lists.mysql.com/[EMAIL PROTECTED]
About Embedded MySQL server
I've installed the last stable MySQL version (4.0.14-standard) form the binary distribution. I'm interested on implementing the embedded server within my clients programs but the distribution do not have included the libmysqld.a library. There is a possible solution to this without having to get the source and compile it. Thanks Vladimir -- BSc. Vladimir Espinosa Angarica Researcher National Bioinformatics Center Ministry of Science Technology and the Environment Industria y San José, Habana Vieja Capitolio Nacional CUBA Fax: (53-7) 8609614 Tel: (53-7) 8604397 E-mail: [EMAIL PROTECTED] -- MySQL General Mailing List For list archives: http://lists.mysql.com/mysql To unsubscribe:http://lists.mysql.com/[EMAIL PROTECTED]
About Embedded MySQL server
I've installed the last stable MySQL version (4.0.14-standard) under Linux, (Suse-8.0) kernel 2.4.28-64GB SMP, form the binary distribution that i downloaded from www.mysql.com. I'm interested on implementing the embedded server within my clients programs but the distribution do not have included the libmysqld.a library. There is a possible solution to this without having to get the source and compile it. Thanks Vladimir -- BSc. Vladimir Espinosa Angarica Researcher National Bioinformatics Center Ministry of Science Technology and the Environment Industria y San José, Habana Vieja Capitolio Nacional CUBA Fax: (53-7) 8609614 Tel: (53-7) 8604397 E-mail: [EMAIL PROTECTED] -- MySQL General Mailing List For list archives: http://lists.mysql.com/mysql To unsubscribe:http://lists.mysql.com/[EMAIL PROTECTED]
Embedded MySQL server
Hi Can some one guide me on how to use the embedded MySQL server. I have gone through brief description in the MySQL manual but did not get much from it When we use Embedded server in an application ,do we need complete MySQL installation ??? any pointer will be appraciated thanks asif __ Do you Yahoo!? Yahoo! Mail Plus - Powerful. Affordable. Sign up now. http://mailplus.yahoo.com - Before posting, please check: http://www.mysql.com/manual.php (the manual) http://lists.mysql.com/ (the list archive) To request this thread, e-mail [EMAIL PROTECTED] To unsubscribe, e-mail [EMAIL PROTECTED] Trouble unsubscribing? Try: http://lists.mysql.com/php/unsubscribe.php
Embedded MySQL Server
Hi, Since libmysqld does not use sockets or TCP/IP, what's the mechanism it uses when the client and server communicate with each other? I mean how embedded MySQL Server works as a server. Thanks for reply in advance. Regards. -- ___ Get your free email from http://mymail.mailasia.com Powered by Outblaze - Before posting, please check: http://www.mysql.com/manual.php (the manual) http://lists.mysql.com/ (the list archive) To request this thread, e-mail [EMAIL PROTECTED] To unsubscribe, e-mail [EMAIL PROTECTED] Trouble unsubscribing? Try: http://lists.mysql.com/php/unsubscribe.php
Using the embedded mysql server - how do I create a database on the fly?
Hello. I'm just getting started with the embedded mysql server and I'm not trying to do anything fancy. I just want to initialize the server and call mysql_create_db and have the database get created and then start using it. I've modified the basic embedded server example as follows: mysql_server_init(sizeof(server_args) / sizeof(char *), server_args, server_groups); if(mysql_create_db(one, my_database)) { fprintf(stderr, Failed to create new database. Error: %s\n, mysql_error(one)); } one = db_connect(my_database); two = db_connect(NULL); db_do_query(one, SHOW TABLE STATUS); db_do_query(two, SHOW DATABASES); mysql_close(two); mysql_close(one); I get a test_mysqld.c:53: warning: implicit declaration of function `mysql_create_db' when compiling and then I get a Seg Fault when it is ran. What am I doing wrong? - Steve __ Do you Yahoo!? Y! Web Hosting - Let the expert host your web site http://webhosting.yahoo.com/ - Before posting, please check: http://www.mysql.com/manual.php (the manual) http://lists.mysql.com/ (the list archive) To request this thread, e-mail [EMAIL PROTECTED] To unsubscribe, e-mail [EMAIL PROTECTED] Trouble unsubscribing? Try: http://lists.mysql.com/php/unsubscribe.php
Re: Embedded MySQL server crashing
Sorry for the ambiguity. My application is a gui application written in Borland C++ Builder 6. It features one form with 4 buttons consisting of Create, Connect, Disconnect, Destroy. Only the relevant buttons are availible at certain times. (For instance, you cannot destroy a server when one is not created, therefore you have to click create in order to hit destroy). The purpose of the Create button is to call mysql_server_init, which creates the mysqld embedded server. After which you hit connect to connect to the created server, and then you can disconnect and destroy the server with their respective buttons. I can click the following button and have it crash: o Create button o Destroy button o Create button again o Destroy button --(Crashes here) I hope this clears things up. The destroy button simply calls the mysql_server_end(), and nothing else, just to kill the server. The speed issues I had before (with it waiting 30 seconds to kill the server) were resolved with adding the skip-innodb option to my configuration file. This also fixed the previous crash after creating the server the second time, but now has moved the crash one step ahead, the destruction of the server. Ted -- Ted Morse CIHOLAS Enterprises [EMAIL PROTECTED] On Tue, 18 Jun 2002, miguel solorzano wrote: At 08:35 17/6/2002 -0500, Theodore Morse wrote: Hi, I tried the skip-innodb in my configuration file, it helps to a point, now I can create the server twice, but can only destroy it once, the procedure goes like this: Please clarify: o Create server o Destroy server Your application is closed ? or you did the below server instance immediately the above destroy action without to know if the server clean up was finished ? o Create server o CRASH!! - Before posting, please check: http://www.mysql.com/manual.php (the manual) http://lists.mysql.com/ (the list archive) To request this thread, e-mail [EMAIL PROTECTED] To unsubscribe, e-mail [EMAIL PROTECTED] Trouble unsubscribing? Try: http://lists.mysql.com/php/unsubscribe.php
Embedded MySQL server crashing
Hello to all! I am currently working on a GUI Application in Borland C++ Builder, and must use an embedded MySQL server in it. I am having difficulties, however, because whenever I create an instance, and destroy it, then try to make another instance of an embedded server, the second time it tries to create the server, the application crashes. Furthermore, it takes a lot longer than expected to shut down the mySQL embedded server than it does to create it. Are there any bugs, or other gotchas when using the embedded version? Ted -- Ted Morse CIHOLAS Enterprises [EMAIL PROTECTED] - Before posting, please check: http://www.mysql.com/manual.php (the manual) http://lists.mysql.com/ (the list archive) To request this thread, e-mail [EMAIL PROTECTED] To unsubscribe, e-mail [EMAIL PROTECTED] Trouble unsubscribing? Try: http://lists.mysql.com/php/unsubscribe.php
Embedded MySQL server the outside world
Hi folks, does embedded server tcp-listen to the outside world i.e. it could be used by another app or perhaps been accessed by the same app using ODBC? OR is MySQL C API the only way to control it? Thanks, Marek - Before posting, please check: http://www.mysql.com/manual.php (the manual) http://lists.mysql.com/ (the list archive) To request this thread, e-mail [EMAIL PROTECTED] To unsubscribe, e-mail [EMAIL PROTECTED] Trouble unsubscribing? Try: http://lists.mysql.com/php/unsubscribe.php
Re: Embedded MySQL server the outside world
Marek Kustka writes: Hi folks, does embedded server tcp-listen to the outside world i.e. it could be used by another app or perhaps been accessed by the same app using ODBC? Nope. OR is MySQL C API the only way to control it? Yes, so far. But other API's could be built on top of it ... Thanks, Marek -- Regards, __ ___ ___ __ / |/ /_ __/ __/ __ \/ /Mr. Sinisa Milivojevic [EMAIL PROTECTED] / /|_/ / // /\ \/ /_/ / /__ MySQL AB, Fulltime Developer /_/ /_/\_, /___/\___\_\___/ Larnaca, Cyprus ___/ www.mysql.com - Before posting, please check: http://www.mysql.com/manual.php (the manual) http://lists.mysql.com/ (the list archive) To request this thread, e-mail [EMAIL PROTECTED] To unsubscribe, e-mail [EMAIL PROTECTED] Trouble unsubscribing? Try: http://lists.mysql.com/php/unsubscribe.php