473,386 Members | 1,764 Online
Bytes | Software Development & Data Engineering Community
Post Job

Home Posts Topics Members FAQ

Join Bytes to post your question to a community of 473,386 software developers and data experts.

mysql C API with XAMPP?

38
Hi
I would like to connect to mysql using C but I have not been successful. I am using XAMPP and Visual C++ express edition.
Can anyone guide me through the process?
Thanks
Jan 10 '09 #1
4 5153
poreko
38
Actually it is not the coding side of it that i am struggling with. I dont know how to comfigure the compiler and include the different directories and so on.
Jan 11 '09 #3
Tassos Souris
152 100+
The first link says something about that in the beginning.. read the first lines of the first post
Jan 11 '09 #4
weaknessforcats
9,208 Expert Mod 8TB
Select Project Properties/Configuration Properties/Linker/Input. Then on the dialog to the right add you libraries as additional dependencies.

This gets the library name added to your project. To set the path to it, select from the TaskBar Tools/Options/Projects and Solutions/VC++ Directories. Then use the drop-down menu for "show directories" to select library files. Then add your path.

Visual Studio will search the paths in the order they appear in the list box.
Jan 11 '09 #5

Sign in to post your reply or Sign up for a free account.

Similar topics

4
by: Jan Nordgreen | last post by:
The following code only generates the first csv file. The second request is just ignored. What am I doing wrong? I am using Mozilla Firefox, Windows XP, and Xampp. <?php require...
5
by: bob.herbst | last post by:
I am using XAMPP as a gateway into running my own webserver because it was the all in one pakage. The only problem I have is that I cannot access MySQL from the command line and only from...
5
by: Frances | last post by:
a few days ago I installed XAMPP in my Windows 2000 machine, it completely messed my existing MySQL installation.. I've had it installed for over a year now (4.1) have never had any problems with...
4
by: nurcan.kurtoglu | last post by:
Hi, I have a .php site which uses a mysql database. I would like some info on how I can download (preferably free and simple) and use a GUI. As in, I know they exist, but do I need to put it...
10
deephill
by: deephill | last post by:
hi... i have one big doubt. XAMPP installation is better or Manual install is better for PHP, MySQL & Apache??? May i know benefits and faults of both type of installation. XAMPP is secure or...
3
by: chri | last post by:
hi i get the following errors returning me folloing post to data base Warning: mysql_fetch_array(): supplied argument is not a valid MySQL result resource in C:\Documents and Settings\chris1\My...
2
rohitrohitrohit
by: rohitrohitrohit | last post by:
Hi every one i am a beginner.......... i installed xampp in my computer.(php+mysql) i wrritten a code below. but it generate a error class not found. can i connect my servlets...
1
by: LurkB | last post by:
Hey all, I just uninstalled appserv and downloaded XAMPP-win32-1.6.8.zip to use on a mail server task on windows XP. After the installation, it would not let me turn on localhost/phpMyAdmin. I...
1
by: ajeeshc | last post by:
the code that i tried <?php $con = mysql_connect("telious", ***, ***); if (!$con) { die('Could not connect: ' . mysql_error()); } if (mysql_query("CREATE DATABASE my_db",$con)) {
5
by: lisles | last post by:
i have a page funtion.php which hs the function to connect to the db /* Mysql Connection */ function connect(){ global $db_server,$db_user,$db_pass,$db;//Global Values from the config.php...
0
by: taylorcarr | last post by:
A Canon printer is a smart device known for being advanced, efficient, and reliable. It is designed for home, office, and hybrid workspace use and can also be used for a variety of purposes. However,...
0
by: ryjfgjl | last post by:
In our work, we often receive Excel tables with data in the same format. If we want to analyze these data, it can be difficult to analyze them because the data is spread across multiple Excel files...
0
BarryA
by: BarryA | last post by:
What are the essential steps and strategies outlined in the Data Structures and Algorithms (DSA) roadmap for aspiring data scientists? How can individuals effectively utilize this roadmap to progress...
1
by: nemocccc | last post by:
hello, everyone, I want to develop a software for my android phone for daily needs, any suggestions?
1
by: Sonnysonu | last post by:
This is the data of csv file 1 2 3 1 2 3 1 2 3 1 2 3 2 3 2 3 3 the lengths should be different i have to store the data by column-wise with in the specific length. suppose the i have to...
0
by: Hystou | last post by:
There are some requirements for setting up RAID: 1. The motherboard and BIOS support RAID configuration. 2. The motherboard has 2 or more available SATA protocol SSD/HDD slots (including MSATA, M.2...
0
marktang
by: marktang | last post by:
ONU (Optical Network Unit) is one of the key components for providing high-speed Internet services. Its primary function is to act as an endpoint device located at the user's premises. However,...
0
by: Hystou | last post by:
Most computers default to English, but sometimes we require a different language, especially when relocating. Forgot to request a specific language before your computer shipped? No problem! You can...
0
jinu1996
by: jinu1996 | last post by:
In today's digital age, having a compelling online presence is paramount for businesses aiming to thrive in a competitive landscape. At the heart of this digital strategy lies an intricately woven...

By using Bytes.com and it's services, you agree to our Privacy Policy and Terms of Use.

To disable or enable advertisements and analytics tracking please visit the manage ads & tracking page.