Sponsor:

Server and Web Integrator
Link:
Kloxo-MR logo
6.5.0 or 7.0.0
Click for "How to install"
Donation/Sponsorship:
Kloxo-MR is open-source.
Donate and or Sponsorship always welcome.
Click to:
Click Here
Please login or register. 2024-05-28, 21:45:20

Author Topic: Maria DB to mysql  (Read 3299 times)

0 Members and 1 Guest are viewing this topic.

Offline djscooby

  • Valuable Member
  • *
  • Posts: 119
  • Karma: +0/-0
    • View Profile
Maria DB to mysql
« on: 2013-07-12, 00:32:12 »
Hi guys

Im facing a big issue with databases, i installed kloxomr today on another machine with all defaults.(mysql)
the problem is that none database backup works, databases restored all empty!

My previous kloxomr used mariadb as database engine with aria
1)i converted database to innodb and then took backup from old and restored to new.. still empty
2)Manually exported from php-myadmin from old to new and have errors like :
Code: [Select]
CREATE TABLE IF NOT EXISTS IF NOT EXISTS  `wp_xxxxxxxx_xxx` (

 `id` INT( 4 ) UNSIGNED NOT NULL AUTO_INCREMENT ,
 `bg_type` VARCHAR( 10 ) NOT NULL ,
 `bg_url` VARCHAR( 255 ) NOT NULL ,
 `bg_thumb_url` VARCHAR( 255 ) NOT NULL ,
 `bg_position_y` VARCHAR( 10 ) NOT NULL ,
 `bg_position_x` VARCHAR( 10 ) NOT NULL ,
 `bg_repeat` VARCHAR( 10 ) NOT NULL ,
 `bg_attachment` VARCHAR( 10 ) NOT NULL ,
UNIQUE KEY  `id` (  `id` )
) ENGINE = INNODB DEFAULT CHARSET = latin1 PAGE_CHECKSUM =1 AUTO_INCREMENT =34;

MySQL returned error:

#1064 - You have an error in your SQL syntax; check the manual that corresponds to your MySQL server version for the right syntax to use near 'PAGE_CHECKSUM=1 AUTO_INCREMENT=34' at line 17

What can i do ? Any idea ?
i thought MariaDb is compatible with mysqli ?
« Last Edit: 1970-01-01, 01:00:00 by Guest »

Offline MRatWork

  • Administrator
  • The Elite
  • *****
  • Posts: 15,807
  • Karma: +119/-11
  • Gender: Male
    • View Profile
    • MRatWork Forum
Re: Maria DB to mysql
« Reply #1 on: 2013-07-12, 01:05:42 »
It's ok with mariadb.

To make sure, no 'skip-innodb' inside /etc/my.conf or /etc/my.cnf.d/my.cnf.
« Last Edit: 1970-01-01, 01:00:00 by Guest »
..:: MRatWork (Mustafa Ramadhan Projects) ::..
-- Server/Web-integrator - Web Hosting (Kloxo-MR READY!) --

Offline djscooby

  • Valuable Member
  • *
  • Posts: 119
  • Karma: +0/-0
    • View Profile
Re: Maria DB to mysql
« Reply #2 on: 2013-07-12, 01:07:22 »
Thanks MR for answering.. i folowed this viewtopic.php?f=5&t=2158&p=5109&hilit=Aria+Engine#p5109


returned to mysql and now backups works... :D
« Last Edit: 1970-01-01, 01:00:00 by Guest »

 


Top 10 Social Networking:    Facebook    Twitter    LinkedIn    Pinterest    Google Plus    Tumblr    Instagram    VK    Flickr    Vine

Page created in 0.039 seconds with 18 queries.

web stats analysis