Ask a Question related to PHP Development, Design and Development.
-
steve #1
reapir mysql table from php
I have an on-going problem that my ".MYI" mysql files get corrupted.
I have written php trapping routine to report on the problem to
admin. My next step is to initiate "repair table" right after the
error is trapped.
The problem is that then I would have multiple repair table commands
initiated from different browser sessions. How can I make sure that
only one "repair table" is running at a time.
--
[url]http://www.dbForumz.com/[/url] This article was posted by author's request
Articles individually checked for conformance to usenet standards
Topic URL: [url]http://www.dbForumz.com/PHP-reapir-mysql-table-ftopict151640.html[/url]
Visit Topic URL to contact author (reg. req'd). Report abuse: [url]http://www.dbForumz.com/eform.php?p=507693[/url]
steve Guest
-
MySQL: What Table Type are you ?>
Which is better: MyISAM or INNODB ?? All the apps I've written thus far are MyISAM; however, INNODB offers our dear friend `referential... -
MySQL tempory table rights
I had a problem with this query (MySQL-4.1.0-alpha-standard): $query = "SELECT `id` , `date`, `date_added`, `title` " . "FROM ( " . " ... -
Testing if a mysql table exists
Is there a simple way to test if a mysql table exists? JUST One line ! -
I can't insert into mySQL db table - HELP!
I have to get this done by tonight! I have a .CSV file and a PHP file where I am inserting the values of the CSV file into the db table. See the... -
PHP and MySQL Table Joins
I am having a hard time with joins - my following code displays: ..member_name .gender instead of the actual data - I've been reading through... -
Marcin Dobrucki #2
Re: reapir mysql table from php
steve wrote:Search for 'singleton class'> I have an on-going problem that my ".MYI" mysql files get corrupted.
> I have written php trapping routine to report on the problem to
> admin. My next step is to initiate "repair table" right after the
> error is trapped.
>
> The problem is that then I would have multiple repair table commands
> initiated from different browser sessions. How can I make sure that
> only one "repair table" is running at a time.
/Marcin
Marcin Dobrucki Guest
-
Marcin Dobrucki #3
Re: reapir mysql table from php
steve wrote:
Out of curiosity... how are you db files getting corrupted? Is the> I have an on-going problem that my ".MYI" mysql files get corrupted.
> I have written php trapping routine to report on the problem to
> admin. My next step is to initiate "repair table" right after the
> error is trapped.
server constantly shut off without a shutdown procedure? Perhaps
enabling logging on the filesystem and making sure the computer doesn't
creash is the way to go?
/m
Marcin Dobrucki Guest
-
Lucas #4
Re: reapir mysql table from php
Hi Steve,
you're coming home from the backyard. Try the front door. Why would
you want users(browser sessions) iniatiate the repair sequence? This
is usually done by a cron job. If this repair procedure should be
event driven you may want to put a database in between the cron job
and the client application. The application would check the integrity,
if a repair procedure is needed, the flag in database would be set.
Afterwards the only task for the cron-job would be checking the repair
flag and carrying out necessary operations, if required.
Best Regards,
Lucas
steve <UseLinkToEmail@dbForumz.com> wrote in message news:<414f45f2$1_2@alt.athenanews.com>...> I have an on-going problem that my ".MYI" mysql files get corrupted.
> I have written php trapping routine to report on the problem to
> admin. My next step is to initiate "repair table" right after the
> error is trapped.
>
> The problem is that then I would have multiple repair table commands
> initiated from different browser sessions. How can I make sure that
> only one "repair table" is running at a time.Lucas Guest
-
steve #5
Re: Re: reapir mysql table from php
"Marcin Dobrucki" wrote:
I have a server with heavy load. Once every few days, I get this> steve wrote:> corrupted.> > I have an on-going problem that my ".MYI" mysql files get> problem to> > I have written php trapping routine to report on the> after the> > admin. My next step is to initiate "repair table" right>> > error is trapped.
> Out of curiosity... how are you db files getting corrupted?
> Is the
> server constantly shut off without a shutdown procedure?
> Perhaps
> enabling logging on the filesystem and making sure the
> computer doesn't
> creash is the way to go?
>
> /m
corruption. I have posted on this ng with no results...
The server is constantly up, so it is not related to that.
--
[url]http://www.dbForumz.com/[/url] This article was posted by author's request
Articles individually checked for conformance to usenet standards
Topic URL: [url]http://www.dbForumz.com/PHP-reapir-mysql-table-ftopict151640.html[/url]
Visit Topic URL to contact author (reg. req'd). Report abuse: [url]http://www.dbForumz.com/eform.php?p=508966[/url]
steve Guest



Reply With Quote

