The only way I could see this work would be to write forms to a temporary
text file array.  Then using a cron job to update the database.

On Thu, January 8, 2015 10:01 am, bruce wrote:
> hey.
>
> within php (or any other language)
>
> is there a way to create the mysql sql, and execute the sql, where the
> process can "wait" until the network connection for the mysql
> command/process is actually valid?
>
> IE (phpesque)
> $pdo=new pdo()
> sql = "select * from foo where a=:a" $s=$pdo->prepare($sql)
> $s->bind("a",$one)
> $s->execute()
>
>
> The issue we're seeing, is that the network (it's all wifi) is really
> bad.. and the app machine, might not have a connection to the db box.
>
> We're wondering if there's a way to simply have mysql/php detect when
> a valid connection is there, and then proceed.
>
> We've thought about the try/catch process, any others?
>
>
> Thanks
>
>
> --
> MySQL General Mailing List
> For list archives: http://lists.mysql.com/mysql
> To unsubscribe:    http://lists.mysql.com/mysql
>
>
>



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

Reply via email to