List:General Discussion« Previous MessageNext Message »
From:Uri Even-Chen Date:March 1 2000 11:17am
Subject:Re: help with MySQL setup
View as plain text  
MySQL license: #7259
MySQL basic email support: #489
-------------------------------

Sinisa,

sorry I bother you again, but I still have problems with mysql++:

1. I am a C++ programmer. I already installed mysql++, but I don't know
how to compile my program with it. I tried including the file
"/usr/local/include/mysql++/sqlplus.hh", and it makes my program to not
pass compilation (see below). which files should I include, and compile,
when I want to use mysql++?

also, including <sqlplus.hh> (like in the example) results in
"sqlplus.hh: No such file or directory".

2. do I need to keep the directory from which I extracted
"mysql++-1.6.0.tar.gz" and installed mysql++? or can I erase it after
the installation?


Uri.
--------
In file included from /home/speedy/code/include/include.h:14,
                 from list.c:8:
/usr/local/include/mysql++/sqlplus.hh:1: mysql++-config.hh: No such file
or directory
In file included from /usr/local/include/mysql++/sqlplus.hh:11,
                 from /home/speedy/code/include/include.h:14,
                 from list.c:8:
/usr/local/include/mysql++/defs:4: mysql.h: No such file or directory
In file included from /usr/local/include/mysql++/coldata1.hh:7,
                 from /usr/local/include/mysql++/sqlplus.hh:14,
                 from /home/speedy/code/include/include.h:14,
                 from list.c:8:
/usr/local/include/mysql++/type_info1.hh:10: mysql.h: No such file or
directory
In file included from /usr/local/include/mysql++/vallist1.hh:6,


(and it goes on and on.....)



sinisa@stripped wrote:
> 
> Uri Even-Chen writes:
>  >    "Encrypt the .frm file with a password. This option doesn't do
>  >     anything in the standard MySQL version. "
>  >
>  > I'm using mySQL version 3.22.25, and I want to know - does this version
>  > support the encryption? I prefer encrypting the whole table, than
>  > encoding certain fields.
>  >
> 
> This option is available since 3.23.3, for registered users, the ones
> with some form of login support.
> 
> But it only encrypts .frm file, so if anybody unauthorized copies
> file, he / she would be unable to read data !
> 
>  >
>  > 3. I also want to know how I backup the mySQL tables, so I can recover
>  > the whole database in case there is a bug and the tables get corrupted.
>  > I will transfer the backup files through FTP, and that's one of the
>  > reasons I prefer encrypted database.
>  >
> 
> If tables get corrupted, shutdwon a server and run isamchk.
> 
>  > 4. I don't know how to get started with mySQL++. do I have to include
>  > files to my program? I'm totally new to mySQL, and I just don't know how
>  > to write queries to get or update information from the database. I'm
>  > familiar with the SQL syntax, but I don't know how to implement it in
>  > C++.
>  >
>  > I would appreciate your help.
>  >
>  > regards,
>  > Uri.
>  >
> 
> MySQL++ is for C++ programmer. Are you one ??
> 
> If  you are, just read all exampels that come with mysql++ 1.6. And
> read a manual. All examples are put in a manual too.
> 
> Sinisa
> *************** Warning: Commercial signature  follows ********************
> "Please consider purchasing an email support if you need help from the
>  MySQL developer team. Our time is very limited and we can guarantee to
>  be able to answer only mails sent by a support customer. Please send
>  always at least a 'CC' to the corresponding list; mysql@stripped
>  if you don't have a support, or support@stripped if you do have one.
>  http://www.mysql.com/Manual_chapter/manual_Licensing_and_Support.html"

-- 
--------------------------------------------------------
Uri Even-Chen
Speedy Software
Raanana, Israel.
E-mail: webmaster@stripped
ICQ Number: 7461268
Phone Number: 09-7715013
--------------------------------------------------------
Welcome to Speedy Net (In Hebrew):
   http://www.speedy.co.il/
Speedy Dating (In Hebrew):
   http://www.speedy.co.il/dating/
Speedy Composer (In English):
   http://www.speedy.co.il/composer/
--------------------------------------------------------
Thread
help with MySQL setupUri Even-Chen15 Feb
  • Re: help with MySQL setupsinisa15 Feb
    • Re: help with MySQL setupUri Even-Chen2 Mar
      • Re: help with MySQL setupsinisa3 Mar
    • still problems with mysql++Uri Even-Chen2 Mar
      • Re: still problems with mysql++Thimble Smith3 Mar
    • Re: help with MySQL setupTonu Samuel3 Mar
    • Re: still problems with mysql++Tonu Samuel3 Mar
    • Re: still problems with mysql++Uri Even-Chen3 Mar
    • Re: still problems with mysql++Tonu Samuel3 Mar
    • Re: another bug report with mysql++Uri Even-Chen5 Mar
      • Re: another bug report with mysql++sinisa5 Mar
        • Re: segmentation fault with mysql++Uri Even-Chen5 Mar
          • Re: segmentation fault with mysql++sinisa6 Mar
        • Re: segmentation fault with mysql++Uri Even-Chen7 Mar
          • Re: segmentation fault with mysql++Thimble Smith7 Mar
  • Re: help with MySQL setupUri Even-Chen1 Mar
  • Re: help with MySQL setupTonu Samuel1 Mar
  • Re: help with MySQL setupUri Even-Chen2 Mar
    • Re: help with MySQL setupsinisa2 Mar
    • Re: help with MySQL setupThimble Smith2 Mar
  • Re: help with MySQL setupUri Even-Chen2 Mar
    • Re: help with MySQL setupsinisa2 Mar