WHY do I see this error when restoring my backup db : InnoDB: Your database may be corrupt or you may have copied the InnoDB tablespace but not the InnoDB log files.

2009-02-06 Thread my sql
WHY do I see this error when restoring my backup db :
" InnoDB: Your database may be corrupt or you may have copied the InnoDB
tablespace but not the InnoDB log files. "

GOAL: Trying to restore mysql backup on different host
using InnoDB backup that copes the backed up files to a files sever where I
pulle them down to the new host
I place all the MySQL datafiles and InnoDB log files in the same directory
and all paths in the my.cnf files are pointing here

upon the startup of the mysqld and the following crach recover that the
Innodb do I get tons of this errors [see below] why?
I do have the two InnoDB log files - so why does it complain that my DB
'may' be corrupt - I don't like this message.

Event tried with seting  innodb_force_recovery = 4  but I still get the
error upon startup - why?
It doesn't look like a clean startup to me 


090206 14:56:34  InnoDB: Error: page 27060 log sequence number 4 1755884236
InnoDB: is in the future! Current system log sequence number 4 1682795020.
InnoDB: Your database may be corrupt or you may have copied the InnoDB
InnoDB: tablespace but not the InnoDB log files.


Html and mysql..

2004-05-05 Thread My Sql
Hi all,
I have got one serious doubt.
Can we access mysql database from the front end html. If it all it is possible, we 
have to right in javascript. 
ofcourse we can write it using JDBC(provided we have  a servlet engine integrated with 
a webserver).
My question is can we access mysql database from the front end html using javacript. I 
would be really glad, if some one can help me in this regard.
 
Thanks,
Bharath


-
Do you Yahoo!?
Win a $20,000 Career Makeover at Yahoo! HotJobs 

could not insert BLOB data types in table

2001-08-18 Thread my-sql

Hi all,

I could not insert BLOB data types in a table. I want that the 
INSERT statement should insert a picture in a field of a table. Like,

INSERT INTO testtable (id, picture) values (1,picref)

Here I want to know what should be the picref  I know picref is 
a variable in a programming language but I don know how to 
represent a picture (say test.jpg) to the variable picref?? Please 
suggest me in PERL and Java because I am connecting the Mysql 
database using PERL DBI and JDBC driver.

Thank you in advance.

Thakur Gyawali
HealthNet Nepal

-
Before posting, please check:
   http://www.mysql.com/manual.php   (the manual)
   http://lists.mysql.com/   (the list archive)

To request this thread, e-mail <[EMAIL PROTECTED]>
To unsubscribe, e-mail <[EMAIL PROTECTED]>
Trouble unsubscribing? Try: http://lists.mysql.com/php/unsubscribe.php




PHP Warning

2001-08-21 Thread my sql

On a new install of Suse 7.2 I get this message when
attempting to acces MySQL through a php scrpipt in
apache 1.30.20 (MySQL 3.23.39 and PHP 4.0.6):

Warning: Can't connect to local MySQL server through
socket '/var/lib/mysql/mysql.sock' (2) in
/usr/local/apache_1.3.20/htdocs/dbtest.php on line 16

any ideas?

__
Do You Yahoo!?
Make international calls for as low as $.04/minute with Yahoo! Messenger
http://phonecard.yahoo.com/

-
Before posting, please check:
   http://www.mysql.com/manual.php   (the manual)
   http://lists.mysql.com/   (the list archive)

To request this thread, e-mail <[EMAIL PROTECTED]>
To unsubscribe, e-mail <[EMAIL PROTECTED]>
Trouble unsubscribing? Try: http://lists.mysql.com/php/unsubscribe.php