mysql – I'm Knight https://imknight.net From Freelancer to Bootstrapper Mon, 16 Jan 2017 14:12:43 +0000 en-US hourly 1 https://wordpress.org/?v=4.9.8 Mysql Backup for VPS https://imknight.net/web-hosting/mysql-backup-for-vps/ https://imknight.net/web-hosting/mysql-backup-for-vps/#comments Sat, 04 Nov 2006 15:34:50 +0000 https://imknight.net/2006/11/04/mysql-backup-for-vps/ Doing some research tonight and finally setup a script to backup all the mysql database on my vps, just to share some of the solution out there Mysqldumper – it act like a script...

The post Mysql Backup for VPS appeared first on I'm Knight.

]]>
Doing some research tonight and finally setup a script to backup all the mysql database on my vps, just to share some of the solution out there

  • Mysqldumper – it act like a script which require you to install, work with both php and pear
  • Automysqlbackup – a shell script that allow to backup all database, one file with lots of option to customize
  • MyCpanelBackup – a desktop program that allow you to backup your database locally
  • A Smarter Backup Script – a backup script that sharing among cpanel forum

what i doing now is using Automysqlbackup to backup the database daily then rsync to my backup server, account backup might need some tweak also ..

The post Mysql Backup for VPS appeared first on I'm Knight.

]]>
https://imknight.net/web-hosting/mysql-backup-for-vps/feed/ 1
Mysql Problem with Drupal https://imknight.net/development/mysql-problem-with-drupal/ https://imknight.net/development/mysql-problem-with-drupal/#comments Mon, 30 May 2005 15:48:00 +0000 https://imknight.net/?p=419 after i mention about Drupal vs Mambo , i getting some feedback and more putting effort for more research, i decided to use Drupal . i was playing with Drupal this few day, i...

The post Mysql Problem with Drupal appeared first on I'm Knight.

]]>
after i mention about Drupal vs Mambo , i getting some feedback and more putting effort for more research, i decided to use Drupal . i was playing with Drupal this few day, i found out that Drupal is not that easy as i think but its more intersting if i compare to Mambo .

So i was keep getting this error

user error: Access denied for user: ‘knight@localhost’ to database ‘drupal’
query: LOCK TABLES sequences WRITE in /htdocs/bla/includes/database.mysql.inc

althought it wont really affect anything. but is quite annoying, so i decide to debug this error, i found some solution at drupal site but it seem wierd to me because my mysql is on  4.02 but i can’t see the lock table option, then i saw an error msg on phpmyadmin, i know that i need to upgrade my privilege tables. althought my mysql is on version 4.02 but my privilege tables still on version 3.23.

so these are the step

  • run this under shell mysql_fix_privilege_tables –password=root_password
  • it show some success msg and some duplicate error msg which can ignore
  • restart mysql server /etc/init.d/mysql restart
  • login phpmyadmin now you can see the lock table option
  • grant the option for the user and for the particular database

problem solve !

The post Mysql Problem with Drupal appeared first on I'm Knight.

]]>
https://imknight.net/development/mysql-problem-with-drupal/feed/ 1
Can’t start Mysql error 1067 https://imknight.net/development/cant-start-mysql-error-1067/ https://imknight.net/development/cant-start-mysql-error-1067/#comments Fri, 25 Feb 2005 20:23:33 +0000 https://imknight.net/2005/02/26/cant-start-mysql-error-1067/ If you install mysql under windows system, sometime it will suddenly unable to start the service, i face this issue quite a few times already, finally i found a solution for it, 1st step...

The post Can’t start Mysql error 1067 appeared first on I'm Knight.

]]>
If you install mysql under windows system, sometime it will suddenly unable to start the service,
i face this issue quite a few times already, finally i found a solution for it,

1st step check the error, under your installation path for mysql, check the data/mysql.err, it the error showing you something like this ..

050213 20:43:37 InnoDB: Starting shutdown…
050213 20:43:40 InnoDB: Shutdown completed; log sequence number 0 1051715
050213 20:43:40 [Note] C:\Web\mysql\bin\mysqld-nt: Shutdown complete

this should be the log file having problem !

2nd step remove the ib_logfile0 or ib_logfile1 in the same folder

3rd step restart the mysql …

da da da … mysql service is running again

The post Can’t start Mysql error 1067 appeared first on I'm Knight.

]]>
https://imknight.net/development/cant-start-mysql-error-1067/feed/ 82