Comments - MariaDB Source Code

12 years, 9 months ago Pete Lancashire

everything done as the mysql user

bzr branch lp:maria trunk

then

./BUILD//compile-pentium64-max

make install

 ./bin/mysqld_safe --user=mysql
110707 15:13:09 mysqld_safe Logging to '/data1/mariadb/bts-info.rose.portland.local.err'.
110707 15:13:09 mysqld_safe Starting mysqld daemon with databases from /data1/mariadb
110707 15:13:09 mysqld_safe mysqld from pid file /data1/mariadb/bts-info.rose.portland.local.pid ended

cat bts-info.rose.portland.local.err 
110707 15:13:09 mysqld_safe Starting mysqld daemon with databases from /data1/mariadb
110707 15:13:09 [Note] PrimeBase XT (PBXT) Engine 1.0.11-7 Pre-GA loaded...
110707 15:13:09 [Note] Paul McCullagh, PrimeBase Technologies GmbH, http://www.primebase.org
InnoDB: The InnoDB memory heap is disabled
InnoDB: Mutexes and rw_locks use GCC atomic builtins
InnoDB: Compressed tables use zlib 1.2.3
110707 15:13:09  InnoDB: Initializing buffer pool, size = 128.0M
110707 15:13:09  InnoDB: Completed initialization of buffer pool
110707 15:13:09  InnoDB: highest supported file format is Barracuda.
110707 15:13:09 Percona XtraDB (http://www.percona.com) 1.0.15-12.7 started; log sequence number 45356
110707 15:13:09 [ERROR] Can't open the mysql.plugin table. Please run mysql_upgrade to create it.
110707 15:13:09 [Note] Recovering after a crash using mysql-bin
110707 15:13:09 [Note] Starting crash recovery...
110707 15:13:09 [Note] Crash recovery finished.
110707 15:13:09 [ERROR] Fatal error: Can't open and lock privilege tables: Table 'mysql.host' doesn't exist
110707 15:13:09 mysqld_safe mysqld from pid file /data1/mariadb/bts-info.rose.portland.local.pid ended
 
12 years, 9 months ago Daniel Bartholomew

After running the make install, and prior to starting MariaDB, did you run the mysql_install_db script? Some of the errors make it seem like there are some things missing.

See the Generic Build Instructions page for some more details.

You might also want to look at Running MariaDB from the Source Directory

 
Content reproduced on this site is the property of its respective owners, and this content is not reviewed in advance by MariaDB. The views, information and opinions expressed by this content do not necessarily represent those of MariaDB or any other party.