Category: MySQL

Apache MySQL

XAMPP DB Crash fix

It is possible, I found out a solution: Install new xampp Copy your old database folder from xampp\mysql\data\databasefolder to Paste in your running xampp folder C:\xampp\mysql\data After that stop mysql and apache service then backup your running xampp files ib_logfile0,ib_logfile1 and ibdata1 and store in safe place Then Copy same file (ib_logfile0,ib_logfile1 and ibdata1) from […]

MySQL

Mysql Procedure creation

Procedure Creation Example MariaDB [stress]> DELIMITER ;; MariaDB [stress]> CREATE PROCEDURE ABC() -> BEGIN -> WHILE 1 -> DO -> SELECT COUNT(*) FROM stresstable; -> DO SLEEP(1); -> END WHILE; -> END;; MariaDB [stress]> DELIMITER ; MariaDB [stress]> CALL ABC(); Procedure Listing $ SHOW PROCEDURE STATUS; OR $ SELECT ROUTINE_SCHEMA,ROUTINE_NAME FROM information_schema.routines where routine_type = […]

Linux MySQL

Server & Sql Monitoring (PMM-Server)

Hi, i’ve recently created a pmm-server ( monitoring system for server & mysql ). A pmm-server act as a server and client can connect to pmm-server to look on their information by using the command pmm-admin. For more info Click in this link   https://www.percona.com/doc/percona-monitoring-and-management/deploy/server/index.html Setup SMTP server For this example you can refer to […]

Back To Top