PHP Classes

Opening

Recommend this page to a friend!

      DrasticTools  >  All threads  >  Opening  >  (Un) Subscribe thread alerts  
Subject:Opening
Summary:Winows Error Message: MySQL server is sutting down
Messages:3
Author:Waldo Harvey
Date:2009-07-02 22:39:50
Update:2009-07-06 15:15:12
 

  1. Opening   Reply   Report abuse  
Picture of Waldo Harvey Waldo Harvey - 2009-07-02 22:39:50
The Grid does not load and after about 15 seconds a message that MySql server is shutting down appears - MySQL Administrator log does not show shutting down.

MySQL 5.0.37
Windows Vista Home Premium, latest upgrade (downgrade)
DrasticTools 0.6.17

The file:


<?php
define("PATHDRASTICTOOLS", "");
include(PATHDRASTICTOOLS."sugargrid2oec.php");
include(PATHDRASTICTOOLS."drasticSrcMySQL.class.php");
$src = new drasticSrcMySQL("localhost", "root", "admin", "sugarcrm", "project");
?>

<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Strict//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-strict.dtd">
<html xmlns="http://www.w3.org/1999/xhtml" lang="en" xml:lang="en">
<head>
<link rel="stylesheet" type="text/css" href="css/grid_default.css"/>
<title>ExampleGrid2</title>
</head><body>
<script type="text/javascript" src="js/mootools-1.2-core.js"></script>
<script type="text/javascript" src="js/mootools-1.2-more.js"></script>
<script type="text/javascript" src="js/drasticGrid.js"></script>

<div id="grid1"></div>
<script type="text/javascript">
var thegrid = new drasticGrid('grid1', {
pathimg: "img/"
});
</script>

</body></html>

  2. Re: Opening   Reply   Report abuse  
Picture of dd dd - 2009-07-03 07:09:21 - In reply to message 1 from Waldo Harvey
Hi Waldo,

As far as we can see there is nothing wrong with the code you sent.
So this is probably a problem with the database itself (or the connection php-db). We suggest trying the connetion to this database with another .php file. Just try printing out some fields of the tabel and look if that works.

regards,

Drasticdata

  3. Re: Opening   Reply   Report abuse  
Picture of Waldo Harvey Waldo Harvey - 2009-07-06 15:15:12 - In reply to message 2 from dd
Tried 3 more example files; got same error message and results - nothing.

Puzzling as my other connection to the data base continues to function correctly.

Waldo