Posts Tagged MySQL database

NaggieDBCC CHECKDB unable to resolve SQL Database corruption

Thursday, April 22nd, 2010

The logical and physical integrity of all SQL Server database tables is performed by DBCC CHECKDB command. The command performs and divides its operations in three different phases.

The first phase checks the consistency of the allocation structures in disk space, the second phase checks the integrity of all pages and their structures, and the last phase checks the catalog consistency.

If critical errors are found in any of the phases, the DBCC CHECKDB command terminates immediately. This happens when the SQL Server database is badly corrupted, and is beyond the repairing capabilities of DBCC CHECKDB command. In such cases, if you need to access the database records, then you will need to restore the database records from a valid backup. But, if no backup is available or backup falls short to restore the required amount of data, then you will need to repair the database by using advanced MS SQL Server Recovery application.

Let’s consider a practical scenario, where you receive the below error message when you attempt to access one of your table records-

Table error: Object ID O_ID1, index ID I_ID1 cross-object chain linkage. Page P_ID1 points to P_ID2 in object IDO_ID2, index ID I_ID2.

The above error message primarily results in inaccessibility of all the table records. Additionally, the error message pops up every time you attempt to access the table records.

Cause: Reason of error

The above table error message occurs when the next page pointer of P_ID1 page points to different object. This can happen either due to logical corruption factors or physical crash of a system component.

Resolution: Steps to be used to resolve the above error message

Database table corruption, if caused due to physical damage, can be resolved by changing the damaged system component. For logical table corruption reasons, run DBCC CHECKDB command with appropriate repair clause.

While the physical corruption issues can be resolved easily changing the system component, the probability of logical corruption problems being resolved by DBCC CHECKDB command is slightly less. In such cases, you will need to use advanced Recovery application to repair the database table. A SQL Repair software can be easily downloaded from Internet.

Source: www.programmersheaven.com

http://get-a-designer.com

http://www.all1sourcetech.com

Tags: , , , , , ,
Posted in Purely Technical | No Comments »

Suzanne[PHP]Sending MySQL data.

Saturday, February 27th, 2010
<?Php
$db_host = "1.3.3.7"; // mySQL database host
$db_user = "dbplz"; // mySQL database user
$db_password = "rofl"; // mySQL database password
$db_name = "dbplz"; // the name of your mySQL database

//connect to our database.
  mysql_connect($db_host,$db_user,$db_password) or die(mysql_error());
// Select the database.
  mysql_select_db($db_name) or die(mysql_error());
//Define the data as $query
$query = "INSERT INTO tablename (row1, row2, row3, row4)
VALUES ('$variable1','$variable2','$variable3','$variable4')";
  mysql_query($query);
  mysql_close();

// it's almost always imperative to strip tags or the data usually doesn't send properly.
$variable = strip_tags($_POST['variable'], '');
//and now send the data
  mysql_query($query);
  mysql_close();
?>

http://www.all1martpro.com

http://www.all1sourcetech.com

Tags: , , , ,
Posted in Editorial, Purely Technical | 1 Comment »

NaggieMuleSoft launches cloud-based Tomcat Web app server

Saturday, February 13th, 2010

This week, MuleSoft is launching Cloudcat that makes the Apache Tomcat Web application server available as a cloud-based service.

Cloudcat is a virtual image for developers and quality assurance persons to build and test connected Web applications in the cloud, which is available on the Amazon Web Services and GoGrid cloud platforms, according to MuleSoft.

Also, IT operations can expand data center capacity by using Cloudcat during peak times or as a cheaper alternative to hosting Tomcat on an internal server.

MuleSoft expects Cloudcat will initially be used mostly for development and testing as well as for deployment of certain classes of Web applications.

MuleSoft vice president of business and corporate development, Chris Purpura said, anything that runs on a Java servlet container can be deployed on Tomcat, and these are typically lighter-weight Web applications that need good scalability” and varying levels of customer demand.

Purpura also added, the application can take the advantage of elasticity by putting them in the cloud. However, Tomcat is not an enterprise Java server; it lacks the full Java stack. He said, you probably won’t deploy your Siebel application on Tomcat.

Features of Cloudcat include:

  • Provisioning of Cloudcat for developing and testing Tomcat applications.
  • A familiar deployment model in which applications are put on Cloudcat just as they would on a local Tomcat server.
  • Diagnostics of the Cloudcat runtime and MuleSource Tcat Server management console.
  • Integration with the Apache Maven Java repository, for integration between development and testing.
  • Integration with Tcat REST APIs for management and controls.
  • Enterprise support.
  • Inclusion of the MySQL database on Linux.
  • 32- and 64-bit images.

The price of Cloudcat Amazon Edition starts at 30 cents per hour and features Canonical Ubuntu Linux. Cloudcat GoGrid Edition starts at $29 per month, featuring Red Hat Enterprise Linux.

http://www.all1tunes.com

http://www.all1sourcetech.com

Tags: , , , , , , , ,
Posted in Linux Technology, New Product Release | No Comments »