mysql++ problem(undefined symbol to)

2006-08-13 Thread ali asghar torabi parizy

  hello.
  i want to connect to mysql from c++ .
  i examine any version or platform.
  i use mysql5 and 4 in suse10 with gcc.then examine mingw and mysql5 and  4 
and 3 for severeal times but i can't solve this problem.when i want  to compile 
examples of mysql++ following error appeared:
  **
  custom1.o(.text+0x180):custom1.cpp: undefined reference to 
`_imp___ZN7mysqlpp10C
  onnectionC1Eb'
  custom1.o(.text+0x1ba):custom1.cpp: undefined reference to 
`connect_to_db(int, c
  har**, mysqlpp::Connection, char const*)'
  custom1.o(.text+0x1d6):custom1.cpp: undefined reference to 
`mysqlpp::Connection:
  :~Connection()'
  custom1.o(.text+0x1fd):custom1.cpp: undefined reference to 
`_imp___ZN7mysqlpp10C
  onnection5queryEv'
  custom1.o(.text+0x2ef):custom1.cpp: undefined reference to 
`print_stock_header(i
  nt)'
  custom1.o(.text+0x3fe):custom1.cpp: undefined reference to 
`print_stock_row(std:
  :string const, long long, double, double, mysqlpp::Date const)'
  custom1.o(.text+0x509):custom1.cpp: undefined reference to 
`mysqlpp::Connection:
  :~Connection()'
  custom1.o(.text+0x53b):custom1.cpp: undefined reference to 
`mysqlpp::Connection:
  :~Connection()'
  
custom1.o(.text$_ZN7mysqlpp5QueryD1Ev[mysqlpp::Query::~Query()]+0x39):custom1.cp
  p: undefined reference to `vtable for mysqlpp::Query'
  
custom1.o(.text$_ZN7mysqlpp5QueryD1Ev[mysqlpp::Query::~Query()]+0x48):custom1.cp
  p: undefined reference to `vtable for mysqlpp::Query'
  
custom1.o(.text$_ZN7mysqlpp5QueryD1Ev[mysqlpp::Query::~Query()]+0x57):custom1.cp
  p: undefined reference to `vtable for mysqlpp::Query'
  
custom1.o(.text$_ZN7mysqlpp5QueryD1Ev[mysqlpp::Query::~Query()]+0x63):custom1.cp
  p: undefined reference to `vtable for mysqlpp::Query'
  
custom1.o(.text$_ZN7mysqlpp5QueryD1Ev[mysqlpp::Query::~Query()]+0x21a):custom1.c
  pp: undefined reference to `VTT for mysqlpp::Query'
  
custom1.o(.text$_ZN7mysqlpp5QueryD1Ev[mysqlpp::Query::~Query()]+0x240):custom1.c
  pp: undefined reference to `VTT for mysqlpp::Query'
  
custom1.o(.text$_ZN7mysqlpp5Query7storeinISt6vectorI5stockSaIS3_vRT_RNS_13SQ
  LQueryParmsENS_11query_resetE[void mysqlpp::Query::storeinstd::vectorstock, 
st
  d::allocatorstock  (std::vectorstock, std::allocatorstock , 
mysqlpp::SQ
  LQueryParms, mysqlpp::query_reset)]+0x71):custom1.cpp: undefined reference 
to `
  _imp___ZN7mysqlpp5Query3strERNS_13SQLQueryParmsENS_11query_resetE'
  
custom1.o(.text$_ZN7mysqlpp4DateD1Ev[mysqlpp::Date::~Date()]+0xb):custom1.cpp: u
  ndefined reference to `vtable for mysqlpp::Date'
  
custom1.o(.text$_ZN7mysqlpp5Query16storein_sequenceISt6vectorI5stockSaIS3_vR
  T_PKc[void mysqlpp::Query::storein_sequencestd::vectorstock, 
std::allocatorst
  ock  (std::vectorstock, std::allocatorstock , char 
const*)]+0x59):custom
  1.cpp: undefined reference to `_imp___ZN7mysqlpp5Query3useEPKc'
  
custom1.o(.text$_ZN7mysqlpp5Query16storein_sequenceISt6vectorI5stockSaIS3_vR
  T_PKc[void mysqlpp::Query::storein_sequencestd::vectorstock, 
std::allocatorst
  ock  (std::vectorstock, std::allocatorstock , char 
const*)]+0x85):custom
  1.cpp: undefined reference to [EMAIL PROTECTED]'
  
custom1.o(.text$_ZN7mysqlpp5Query16storein_sequenceISt6vectorI5stockSaIS3_vR
  T_PKc[void mysqlpp::Query::storein_sequencestd::vectorstock, 
std::allocatorst
  ock  (std::vectorstock, std::allocatorstock , char 
const*)]+0xb3):custom
  1.cpp: undefined reference to [EMAIL PROTECTED]'
  
custom1.o(.text$_ZN7mysqlpp5Query16storein_sequenceISt6vectorI5stockSaIS3_vR
  T_PKc[void mysqlpp::Query::storein_sequencestd::vectorstock, 
std::allocatorst
  ock  (std::vectorstock, std::allocatorstock , char 
const*)]+0xde):custom
  1.cpp: undefined reference to `_imp___ZN7mysqlpp3RowC1ERKPPcPKNS_6ResUseEPmb'
  
custom1.o(.text$_ZN7mysqlpp5Query16storein_sequenceISt6vectorI5stockSaIS3_vR
  T_PKc[void mysqlpp::Query::storein_sequencestd::vectorstock, 
std::allocatorst
  ock  (std::vectorstock, std::allocatorstock , char 
const*)]+0x114):custo
  m1.cpp: undefined reference to `mysqlpp::Row::~Row()'
  
custom1.o(.text$_ZN7mysqlpp5Query16storein_sequenceISt6vectorI5stockSaIS3_vR
  T_PKc[void mysqlpp::Query::storein_sequencestd::vectorstock, 
std::allocatorst
  ock  (std::vectorstock, std::allocatorstock , char 
const*)]+0x1fd):custo
  m1.cpp: undefined reference to `mysqlpp::Row::~Row()'
  
custom1.o(.text$_ZN7mysqlpp5Query16storein_sequenceISt6vectorI5stockSaIS3_vR
  T_PKc[void mysqlpp::Query::storein_sequencestd::vectorstock, 
std::allocatorst
  ock  (std::vectorstock, std::allocatorstock , char 
const*)]+0x223):custo
  m1.cpp: undefined reference to `mysqlpp::Row::~Row()'
  
custom1.o(.text$_ZN7mysqlpp5Query16storein_sequenceISt6vectorI5stockSaIS3_vR
  T_PKc[void mysqlpp::Query::storein_sequencestd::vectorstock, 
std::allocatorst
  ock  (std::vectorstock, std::allocatorstock , char 
const*)]+0x249):custo
  m1.cpp: undefined reference to `mysqlpp::ResUse::~ResUse()'
  

RE: undefined reference to `mysqlpp::Connection::Connection(bool)'

2006-07-25 Thread ali asghar torabi parizy
hi all.and tank you mr logan.i read the ldconfig man page but cant find any 
things.
 when i execute following command:
 #ldconfig -v | grep mysql  
 the following lines appeared:
 
 ldconfig: Can't stat /usr/X11R6/lib/Xaw95: No such file or directory
 ldconfig: Can't stat /usr/X11R6/lib/Xaw3d: No such file or directory
 ldconfig: Can't stat /usr/i486-linux/lib: No such file or directory
 ldconfig: Can't stat /usr/i486-linux-libc5/lib: No such file or directory
 ldconfig: Can't stat /usr/i486-linux-libc6/lib: No such file or directory
 ldconfig: Can't stat /usr/i486-linuxaout/lib: No such file or directory
 ldconfig: Can't stat /usr/i386-suse-linux/lib: No such file or directory
 ldconfig: Can't stat /usr/openwin/lib: No such file or directory
 ldconfig: Can't stat /opt/kde/lib: No such file or directory
 ldconfig: Can't stat /opt/kde2/lib: No such file or directory
 ldconfig: Can't stat /opt/gnome2/lib: No such file or directory
 libmysqlpp.so - libmysqlpp.so
 /usr/local/mysql/lib/mysql:
 libmysqlclient.so.15 - libmysqlclient.so.15.0.0
 whats the meaning of the last line?i think it tell me libmysqlclient are 
available.that's right?
 

Logan, David (SST - Adelaide) [EMAIL PROTECTED] wrote: Hi Ali,

I'll repeat what I've already said, it is the ld command that is having the 
problem. If you don't know what the ld command is or does, you need to look 
elsewhere for the answer as this is beyond the scope of this list. As I have 
previously mentioned, try 

$ man ldconfig

Your problem is as it states

/usr/lib/gcc/i586-suse-linux/4.0.2/../../../../i586-suse-linux/bin/ld: cannot 
find -lmysqlclient -- here is the problem
collect2: ld returned 1 exit status

The linker, ld, does not know where to find the library libmysqlclient.so. You 
need to tell the linker using either ldconfig (man ldconfig) or LD_LIBRARY_PATH 
variable. eg. export LD_LIBRARY_PATH=


Regards

---
** _/ **  David Logan 
***   _/ ***  ITO Delivery Specialist - Database
*_/*  Hewlett-Packard Australia Ltd
_/_/_/  _/_/_/    E-Mail: [EMAIL PROTECTED]
   _/  _/  _/  _/     Desk:   +618 8408 4273
  _/  _/  _/_/_/  Mobile: 0417 268 665
*_/   **
**  _/    Postal: 148 Frome Street,
   _/ **  Adelaide SA 5001
  Australia 
invent   
---

-Original Message-
From: ali asghar torabi parizy [mailto:[EMAIL PROTECTED] 
Sent: Monday, 24 July 2006 7:29 PM
To: mysql@lists.mysql.com
Subject: RE: undefined reference to `mysqlpp::Connection::Connection(bool)'


 Hi.thanks logan.
   I am begeener  to MySQL. I have installed Suse10 and MySQL and 
mysql++  in my pc. 
 
i trying too many pathes in gcc cammand but that error continued.
  I am getting the following error.

# gcc -o custom1  -lmysqlclient -L /usr/local/mysql/lib/mysql/  custom1.cpp
 #gcc -o custom1  -lmysqlclient -L /usr/local/mysqlpp/include/mysql++  
custom1.cpp
 gcc -o custom1  -lmysqlclient -L /usr/local/mysql/lib/mysql/ -L 
/usr/local/mysqlpp/include/mysql++  custom1.cpp
   
 for all statements following error continued:(
#
/usr/lib/gcc/i586-suse-linux/4.0.2/../../../../i586-suse-linux/bin/ld: cannot 
find -lmysqlclient
collect2: ld returned 1 exit status
a-toraby:~/c/example # gcc -o custom1  -lmysqlclient -L 
/usr/local/mysql/lib/mysql/  custom1.cpp
/tmp/ccPQEF5p.o: In function `main':
custom1.cpp:(.text+0x2f): undefined reference to 
`mysqlpp::Connection::Connection(bool)'
custom1.cpp:(.text+0x46): undefined reference to `connect_to_db(int, char**, 
mysqlpp::Connection, char const*)'
custom1.cpp:(.text+0x7f): undefined reference to `mysqlpp::Connection::query()'
custom1.cpp:(.text+0x96): undefined reference to `std::basic_ostream
std::char_traits  std::operator  (std::basic_ostream , char const*)'...
...
...
...
...

...std::allocator  (std::vector , mysqlpp::SQLQueryParms, 
mysqlpp::query_reset)]+0x50): undefined reference to `std::basic_string, 
std::allocator ::c_str() const'
custom1.cpp:(.gnu.linkonce.t._ZN7mysqlpp5Query7storeinISt6vectorI5stockSaIS3_vRT_RNS_13SQLQueryParmsENS_11query_resetE[void
 mysqlpp::Query::storein  (std::vector , mysqlpp::SQLQueryParms, 
mysqlpp::query_reset)]+0x71): undefined reference to `std::basic_string, 
std::allocator ::~basic_string()'
custom1.cpp:(.gnu.linkonce.t._ZN7mysqlpp5Query7storeinISt6vectorI5stockSaIS3_vRT_RNS_13SQLQueryParmsENS_11query_resetE[void
 mysqlpp::Query::storein
 std::allocator  (std::vector , mysqlpp::SQLQueryParms, 
mysqlpp::query_reset)]+0x88): undefined reference to `std::basic_string, 
std::allocator ::~basic_string()'
/tmp/ccPQEF5p.o:(.gnu.linkonce.r

undefined reference to `mysqlpp::Connection::Connection(bool)'

2006-07-24 Thread ali asghar torabi parizy

Hi, 
   I am begeener  to MySQL. I have installed Suse10 and MySQL and 
mysql++  in my 
 pc. 
 
 i want to connect to MySQL through C. When I am compiling the program, 
  I am getting the following error.

#gcc -o custom1  -lmysqlclient -lz custom1.cpp

/usr/lib/gcc/i586-suse-linux/4.0.2/../../../../i586-suse-linux/bin/ld: cannot 
find -lmysqlclient
collect2: ld returned 1 exit status
a-toraby:~/c/example # gcc -o custom1  -lmysqlclient -L 
/usr/local/mysql/lib/mysql/  custom1.cpp
/tmp/ccPQEF5p.o: In function `main':
custom1.cpp:(.text+0x2f): undefined reference to 
`mysqlpp::Connection::Connection(bool)'
custom1.cpp:(.text+0x46): undefined reference to `connect_to_db(int, char**, 
mysqlpp::Connection, char const*)'
custom1.cpp:(.text+0x7f): undefined reference to `mysqlpp::Connection::query()'
custom1.cpp:(.text+0x96): undefined reference to `std::basic_ostreamchar,
std::char_traitschar  std::operator std::char_traitschar 
(std::basic_ostreamchar, std::char_traitschar , char const*)'...
...
...
...
...

...std::allocatorstock  (std::vectorstock, std::allocatorstock , 
mysqlpp::SQLQueryParms, mysqlpp::query_reset)]+0x50): undefined reference to 
`std::basic_stringchar, std::char_traitschar, std::allocatorchar 
::c_str() const'
custom1.cpp:(.gnu.linkonce.t._ZN7mysqlpp5Query7storeinISt6vectorI5stockSaIS3_vRT_RNS_13SQLQueryParmsENS_11query_resetE[void
 mysqlpp::Query::storeinstd::vectorstock, std::allocatorstock  
(std::vectorstock, std::allocatorstock , mysqlpp::SQLQueryParms, 
mysqlpp::query_reset)]+0x71): undefined reference to `std::basic_stringchar, 
std::char_traitschar, std::allocatorchar ::~basic_string()'
custom1.cpp:(.gnu.linkonce.t._ZN7mysqlpp5Query7storeinISt6vectorI5stockSaIS3_vRT_RNS_13SQLQueryParmsENS_11query_resetE[void
 mysqlpp::Query::storeinstd::vectorstock,
 std::allocatorstock  (std::vectorstock, std::allocatorstock , 
mysqlpp::SQLQueryParms, mysqlpp::query_reset)]+0x88): undefined reference to 
`std::basic_stringchar, std::char_traitschar, std::allocatorchar 
::~basic_string()'
/tmp/ccPQEF5p.o:(.gnu.linkonce.r._ZTIN7mysqlpp8BadQueryE[typeinfo for 
mysqlpp::BadQuery]+0x0): undefined reference to `vtable for 
__cxxabiv1::__si_class_type_info'
/tmp/ccPQEF5p.o:(.eh_frame+0x12): undefined reference to `__gxx_personality_v0'
collect2: ld returned 1 exit status
###

my code is standard code in mysql++ examples directory
please help me.
 

-
Talk is cheap. Use Yahoo! Messenger to make PC-to-Phone calls.  Great rates 
starting at 1¢/min.

RE: undefined reference to `mysqlpp::Connection::Connection(bool)'

2006-07-24 Thread ali asghar torabi parizy

 Hi.thanks logan.
   I am begeener  to MySQL. I have installed Suse10 and MySQL and 
mysql++  in my pc. 
 
i trying too many pathes in gcc cammand but that error continued.
  I am getting the following error.

# gcc -o custom1  -lmysqlclient -L /usr/local/mysql/lib/mysql/  custom1.cpp
 #gcc -o custom1  -lmysqlclient -L /usr/local/mysqlpp/include/mysql++  
custom1.cpp
 gcc -o custom1  -lmysqlclient -L /usr/local/mysql/lib/mysql/ -L 
/usr/local/mysqlpp/include/mysql++  custom1.cpp
   
 for all statements following error continued:(
#
/usr/lib/gcc/i586-suse-linux/4.0.2/../../../../i586-suse-linux/bin/ld: cannot 
find -lmysqlclient
collect2: ld returned 1 exit status
a-toraby:~/c/example # gcc -o custom1  -lmysqlclient -L 
/usr/local/mysql/lib/mysql/  custom1.cpp
/tmp/ccPQEF5p.o: In function `main':
custom1.cpp:(.text+0x2f): undefined reference to 
`mysqlpp::Connection::Connection(bool)'
custom1.cpp:(.text+0x46): undefined reference to `connect_to_db(int, char**, 
mysqlpp::Connection, char const*)'
custom1.cpp:(.text+0x7f): undefined reference to `mysqlpp::Connection::query()'
custom1.cpp:(.text+0x96): undefined reference to `std::basic_ostream
std::char_traits  std::operator  (std::basic_ostream , char const*)'...
...
...
...
...

...std::allocator  (std::vector , mysqlpp::SQLQueryParms, 
mysqlpp::query_reset)]+0x50): undefined reference to `std::basic_string, 
std::allocator ::c_str() const'
custom1.cpp:(.gnu.linkonce.t._ZN7mysqlpp5Query7storeinISt6vectorI5stockSaIS3_vRT_RNS_13SQLQueryParmsENS_11query_resetE[void
 mysqlpp::Query::storein  (std::vector , mysqlpp::SQLQueryParms, 
mysqlpp::query_reset)]+0x71): undefined reference to `std::basic_string, 
std::allocator ::~basic_string()'
custom1.cpp:(.gnu.linkonce.t._ZN7mysqlpp5Query7storeinISt6vectorI5stockSaIS3_vRT_RNS_13SQLQueryParmsENS_11query_resetE[void
 mysqlpp::Query::storein
 std::allocator  (std::vector , mysqlpp::SQLQueryParms, 
mysqlpp::query_reset)]+0x88): undefined reference to `std::basic_string, 
std::allocator ::~basic_string()'
/tmp/ccPQEF5p.o:(.gnu.linkonce.r._ZTIN7mysqlpp8BadQueryE[typeinfo for 
mysqlpp::BadQuery]+0x0): undefined reference to `vtable for 
__cxxabiv1::__si_class_type_info'
/tmp/ccPQEF5p.o:(.eh_frame+0x12): undefined reference to `__gxx_personality_v0'
collect2: ld returned 1 exit status
###

my code is standard code in mysql++ examples directory
please help me.
 
   
-
Talk is cheap. Use Yahoo! Messenger to make PC-to-Phone calls.  Great rates 
starting at 1¢/min.

--
MySQL General Mailing List
For list archives: http://lists.mysql.com/mysql
To unsubscribe:http://lists.mysql.com/[EMAIL PROTECTED]




-
How low will we go? Check out Yahoo! Messenger’s low  PC-to-Phone call rates.

undefined reference to 'mysql_init'

2006-07-23 Thread ali asghar torabi parizy
Hi, 
   I am begeener  to MySQL. I have installed Suse10 and MySQL and mysql++  in 
my 
 pc. 
 
 i want to connect to MySQL through C. When I am compiling the program, 
  I am getting the following error.
 ***
 gcc -o test test.c
 test.c:28:3: warning: no newline at end of file
 /tmp/cchl7IEh.o: In function `main':
 test.c:(.text+0x22): undefined reference to `mysql_init'
 test.c:(.text+0x4f): undefined reference to `mysql_real_connect'
 test.c:(.text+0x65): undefined reference to `mysql_query'
 test.c:(.text+0x76): undefined reference to `mysql_store_result'
 test.c:(.text+0x87): undefined reference to `mysql_num_rows'
 test.c:(.text+0xdc): undefined reference to `ltmysql_num_fields'
 test.c:(.text+0xf1): undefined reference to `mysql_fetch_row'
 test.c:(.text+0x10b): undefined reference to `mysql_close'
 collect2: ld returned 1 exit status
 ***
 The code is as fillows:
 ***
   
#include stdio.h  #include mysql.h  #define host localhost  #define 
username mysql  #define password   #define database test MYSQL *conn; int 
main()  {  conn = mysql_init(NULL); 
mysql_real_connect(conn,host,username,password,database,0,NULL,0); MYSQL_RES 
*res_set;  MYSQL_ROW row;  unsigned int i;  mysql_query(conn,SELECT * FROM 
users WHERE userid=1); res_set = mysql_store_result(conn); unsigned int 
numrows = mysql_num_rows(res_set); while ((row = mysql_fetch_row(res_set)) != 
NULL)  { for (i=0; iltmysql_num_fields(res_set); i++)  {  printf(%s\n,row[i] 
!= NULL ? row[i] : NULL); }  }  mysql_close(conn);  return 0;  } 
*
Please help me in this regard. 


  

-
Yahoo! Messenger with Voice. Make PC-to-Phone Calls to the US (and 30+ 
countries) for 2¢/min or less.

gcc -o test -L/usr/lib/mysql -lmysqlclient test.c

2006-07-23 Thread ali asghar torabi parizy
hi to all.
thanks luiz and mike for response.
my code  is compiled when i use -lmysqlclient option and executable file is now 
exist but when i try to execute this file it prompts segmentation error 
.what's the meaning of it and what i have to do?

The code is as fillows:
 
***
   
#include stdio.h 
#include mysql.h  
#define host localhost  
#define username mysql  
#define password   
#define database test 
MYSQL *conn; 
int main()  {  
conn = mysql_init(NULL); 
mysql_real_connect(conn,host,username,password,database,0,NULL,0); 
MYSQL_RES *res_set;  
MYSQL_ROW row;  
unsigned int i;  
mysql_query(conn,SELECT * FROM users WHERE userid=1); 
res_set = mysql_store_result(conn); 
unsigned int numrows = mysql_num_rows(res_set); 
while ((row = mysql_fetch_row(res_set)) != NULL)  {
 for (i=0; iltmysql_num_fields(res_set); i++)  { 
printf(%s\n,row[i] != NULL ? row[i] : NULL);
 }  
}  
mysql_close(conn); 
return 0;  } 
*
Please help me



-
Do you Yahoo!?
 Everyone is raving about the  all-new Yahoo! Mail Beta.

Segmentation fault error accrued when gcc -o test -L/usr/lib/mysql -lmysqlclient test.c

2006-07-23 Thread ali asghar torabi parizy

 
  hi to all.
 thanks luiz and mike for response.
my code is compiled when i use -lmysqlclient option and executable file is now 
exist but when i try to execute this file it prompts Segmentation fault 
.what's the meaning of it and what i have to do?
 ##
gcc -o test  -L/usr/lib/mysql -lmysqlclient test.c
 ##
The code is as fillows:
 
***
   
#include  
#include   
#define host localhost  
#define username mysql  
#define password   
#define database test 
MYSQL *conn; 
int main()  {  
conn = mysql_init(NULL); 
mysql_real_connect(conn,host,username,password,database,0,NULL,0); 
MYSQL_RES *res_set;  
MYSQL_ROW row;  
unsigned int i;  
mysql_query(conn,SELECT * FROM users WHERE userid=1); 
res_set = mysql_store_result(conn); 
unsigned int numrows = mysql_num_rows(res_set); 
while ((row = mysql_fetch_row(res_set)) != NULL)  {
 for (i=0; iltmysql_num_fields(res_set); i++)  { 
printf(%s\n,row[i] != NULL ? row[i] : NULL);
 }  
}  
mysql_close(conn); 
return 0;  } 
*
Please help me


   
-
Do you Yahoo!?
 Everyone is raving about the  all-new Yahoo! Mail Beta.

 __
Do You Yahoo!?
Tired of spam?  Yahoo! Mail has the best spam protection around 
http://mail.yahoo.com 

text datatype

2006-05-29 Thread ali asghar torabi parizy
hi
i am creating web newsprogram by php and mysql.
how to i can use text data type for saving contents of articles in database?
when i use text format,contents save in the tables unless eny new line.
howto i can insert \n element in text format?



-
How low will we go? Check out Yahoo! Messenger’s low  PC-to-Phone call rates.

STOPPING server from pid file

2005-12-29 Thread ali asghar torabi parizy
 hi to all
 i have mysql5.1 installed on fedoracore3
 it was worked sucsessfully since yesterday.
 but when i run mysql_safe script today, it prompt  following error:
 
 STOPPING server from pid file /usr/local/mysql/var/localhost.localdomain.pid
 
 please help me.
 i tierd.i think that i have to leave fc3 and work with better platform that be 
compatible with mysql.
 what is your suggestions?
 


-
Yahoo! Photos
 Ring in the New Year with Photo Calendars. Add photos, events, holidays, 
whatever.

Re: trouble with deleting a user

2005-11-22 Thread ali asghar torabi parizy
Note: forwarded message attached.
		 Yahoo! FareChase - Search multiple travel sites in one click.

 

 ---BeginMessage---
Michael Stassen [EMAIL PROTECTED] wrote: ali asghar torabi parizy wrote:  hi to all  i have a problem when i trying to delet a user by drop user directive  ***  drop user atp;  Can't drop one or more of the requested users  ***  i add this user by crant:  ***  GRANT ALL PRIVILEGES ON *.* TO 'atp'@'%'  IDENTIFIED BY 'nowayforyou' WITH GRANT OPTION;  ***A user in mysql is the combination of username and hostname, so the user you created is 'atp'@'%'.  Hence, you need to   DROP USER 'atp'@'%';Michael  hi michael i try to do it but it impossible. error
 continued when i implement it :( drop user [EMAIL PROTECTED]; Can't drop one or more of the requested users 
		 Yahoo! FareChase - Search multiple travel sites in one click.

 

 ---End Message---

-- 
MySQL General Mailing List
For list archives: http://lists.mysql.com/mysql
To unsubscribe:http://lists.mysql.com/[EMAIL PROTECTED]

trouble with deleting a user

2005-11-21 Thread ali asghar torabi parizy
 hi to all
 i have a problem when i trying to delet a user by drop user directive
 ***
 drop user atp;
 Can't drop one or more of the requested users
 ***
 i add this user by crant:
 ***
 GRANT ALL PRIVILEGES ON *.* TO 'atp'@'%'  IDENTIFIED BY 'nowayforyou' WITH 
GRANT OPTION;
 ***
 




-
 Yahoo! FareChase - Search multiple travel sites in one click.  

how to installing mysql5 on fc3?

2005-11-19 Thread ali asghar torabi parizy
hi all
 i want to install mysql5 on fc3 but i cant when i trying  to implement it by 
rpm.
 i remove mysql3 with rpm -e directive.
 who cabn help me?:(
 thanks
 
 rpm -ivh MySQL-server-5.0.15-0.i386.rpm
 error: MySQL-server-5.0.15-0.i386.rpm: V3 DSA signature: BAD, key ID 5072e1f5
 error: MySQL-server-5.0.15-0.i386.rpm cannot be installed
 **
 


-
 Yahoo! FareChase - Search multiple travel sites in one click.  

which release of Mysql is compatible with fedora core3 ?

2005-11-19 Thread ali asghar torabi parizy
i have fedora core3 installed on my system.
 which release of Mysql is compatible with fedora core3 ?
 
 


-
 Yahoo! FareChase - Search multiple travel sites in one click.  

Fwd: which release of Mysql is compatible with fedora core3 ?

2005-11-19 Thread ali asghar torabi parizy
Note: forwarded message attached.
		 Yahoo! FareChase - Search multiple travel sites in one click.

 

 ---BeginMessage---
i have fedora core3 installed on my system. which release of Mysql is compatible with fedora core3 ?  
		 Yahoo! FareChase - Search multiple travel sites in one click.

 

 ---End Message---

-- 
MySQL General Mailing List
For list archives: http://lists.mysql.com/mysql
To unsubscribe:http://lists.mysql.com/[EMAIL PROTECTED]