MySQL Forums
Forum List  »  Connector/C (libmysql)

Re: Newbie - Connection Issues
Posted by: William Spence
Date: September 18, 2020 04:59PM

Yes, but for money, and this is just a personal project. Since the C code works perfectly from my laptop, I know that the code works. And since the PHP scripts work on the server, then I know that the database is reachable from the server. This only leaves me with only one conclusion at this point - my C code is dynamically linked to libraries that are not available on the server to use properly.

Can anyone tell me what I would need to add to to the compilation command to statically link the libraries when I compile so that they get packaged with my executable?? I am using NetBeans as my IDE.

Options: ReplyQuote


Subject
Views
Written By
Posted
413
September 18, 2020 11:42AM
142
September 18, 2020 12:10PM
146
September 18, 2020 01:10PM
137
September 18, 2020 03:40PM
127
September 18, 2020 04:33PM
Re: Newbie - Connection Issues
157
September 18, 2020 04:59PM
109
October 12, 2020 03:55PM


Sorry, only registered users may post in this forum.

Content reproduced on this site is the property of the respective copyright holders. It is not reviewed in advance by Oracle and does not necessarily represent the opinion of Oracle or any other party.