answersLogoWhite

0


Best Answer

The program needs to be designed to do that. If it is, then it will either be designed to use a TCP connection (e.g. on port 3306) to the database or a named socket (e.g. mysql.sock). All you'll really need to do is start the database engine, create the necessary databases, grant rights to whatever database user the program calls into the DB as, pre-populate any necessary tables/data the program expects to be there, and then start the program. The program documentation should tell you what you need to provide as far as a mysql environment and give any necessary SQL initialization scripts.

User Avatar

Wiki User

15y ago
This answer is:
User Avatar

Add your answer:

Earn +20 pts
Q: How do you execute cplusplus program in unix using sql as back end?
Write your answer...
Submit
Still have questions?
magnify glass
imp
Continue Learning about Computer Science

Describe how the front buffer and back buffer work together in double buffering?

The front buffer is the image that is currently being displayed on the screen. The back buffer is the image that is being drawn to by a program. These switch back and forth, (moreover the information is transferred from the back to the front buffer), which lets the program draw exclusively to back buffer, where it will not be slowed down by the screen's refresh rate, as it would be if every element were drawn directly to the screen.


What tasks are included in database maintenance?

Back Up Database Task Performs different types of SQL Server database backups. Check Database Integrity Task Checks the allocation and structural integrity of database objects and indexes. Execute SQL Server Agent Job Task Runs SQL Server Agent jobs. Execute T- SQL Statement Task Runs Transact-SQL statements and more


What is the difference between static and stack data?

Depending on the use , Static data is data that cannot change it is Static so is usually set at the start of the program and cannot change, In the Forth programming language the stack is the work area of memory you place data onto the stack to manipulate it (example Place 2 and 3 onto the stack, execute the + command removes the top 2 items off the stack adds them together and places the result back onto the stack.)


One of the benefits of using redundant back-up systems is?

Increased reliability


Could you get the information back that you were typing before your computer turned off?

It depends on the program... Some programs have an "autosave" routine and you might get lucky, but the answer is --- probably not. You need to understand the difference between typing something in and writing it to disk or posting it to the web. Study how the computer works some more. Go back to the help section for the program in question.

Related questions

Your brush cursor has turned into a oval why.. and I can't get it back to a circle?

In whatever drawing program you are using you have altered the properties of the brush, with knowing which program no one can tell you how to change it back.


What is the minimal unit of code in an application or system that can be scheduled for execution?

The smallest program is a program that does nothing... int main (int argc, char ** argv) {} ... if you execute this, it will setup the library and the stack frame, only to back-out a release everything after doing nothing.


How do you put your files back onto your Windows 7 laptop after a system recovery?

Before using the system recovery disk or partition - back-up all your personal files to either CD-R, CD-RW, DVD-R, DVD-RW, memory stick or external hard drive ! Once you execute the recovery program all user files will be erased!


How can you participate in a cash back program using VISA cards?

You must go to your card provider and consult with them about it. If you are eligible to participate, they should allow you to get a card with a rewards program.


How do you execute a fade shot?

You lean back in the air and shoot before you hit the ground.


What feature will put the text back on your screen after using the undo feature?

Alt-F4. If that doesn't work on the program you're using, try hitting the screen with a sledge hammer as hard as you can.


Did Elizabeth 1 execute protestants?

yes, she did execute protestants, but only if they were practising protestantism 'behind her back', people who practised the religion openly were usually spared unless they were committing treason!


How can you use hacking in c program?

That entirely depends on what you want it to do, however it is easy to send commands to the command line using subprocess.Popen(), read files and modify them or back them up using the built in open(), or delete files. Did this answer your question?


How do you write a program that prompts the user to enter a short message and the number of times it is to be displayed and then displays the message the required number of times in Python?

Sorry, I'm not doing your homework for you.I suggest you flowchart the problem, execute it yourself by hand on the flowchart a few times to make sure it works, then convert the flowchart to code in whatever language the teacher told you to use.That's what I did back in 1973 with my program to play tic-tac-toe, that I had to punch on cards using the FORTRAN II programming language when I first started on computers. Hand execution of a program though tedious and boring is a very effective means to find bugs and gain insight to the way computers operate.


Can you put Xp back on a computer without losing the vista program?

Yes you can, and it is as simple as partitioning your hard drive and using partition magic and boot magic


What does Sneakernet refer to?

Back in the 'old days' a Sneaker Net referred to transferring files from computer to computer using floppy disks. You had to put your running shoes on! Many years ago myself and a partner created a program and we would execute it on about twenty machines once a week to match up the data on all the PCs so that it was identical. It took about 8 hours and required at least two visits to every machine.


What are the benefits of using Chase Freedom?

Chase Freedom credit cards offer no annual fees and a five percent cash back incentive. There is no maximum number of points one can receive in the cash back program.