Migrating the database from SQLite to MySQL, I’ve got the next error many times:
Unexpected error executing code for particular method, detected by Xmlrpc-c method registry code. Method did not fail; rather, it did not complete at all. 7925-byte supposed UTF-8 string is not valid UTF-8. UTF-8 string contains a character not in the Basic Multilingual Plane (first byte 0xfffffffa)
The proccess I used was:
in MySQL:
DROP DATABASE one;
CREATE DATABASE one CHARACTER SET utf8 COLLATE utf8_general_ci;
GRANT ALL ONone
.* TOoneadmin
@localhost IDENTIFIED BY ‘pass’;
FLUSH PRIVILEGES;
in shell:
service opennebula stop
sqlite3 /var/lib/one/one.db .dump | ./sqlite3-to-mysql.py > data.sql
mysql -u oneadmin -p one < mysql.sql
service opennebula start
in /etc/one/oned.conf:
> DB = [ backend = "mysql",
> server = "localhost",
> port = 0,
> user = "oneadmin",
> passwd = "oneadmin",
> db_name = "one" ]
Does anybody knows another method that works fine?
Thanks.