after cross compile, mysql table hidden while operation on it still work

frederic nivor <[email protected]> Sun, 10 Mar 2013 08:15:33 +0100
Newsgroups gmane.comp.db.mysql.devel
Message-ID <[email protected]>
Hi,
I'm trying to cross compile mysql server. Most of it work, but when I access the database via root@localhost account (show databases;), I've got :
Database
information_schema
Applications
Developer
Library
System
bin
cores
etc
private
sbin
usr
var

Which seems to be my / directory.
When I try :
use mysql;
of course, the mysql database is unknown for him, but when I try :
select * from mysql.user;
I've got the right result.
So I thought the root user didn't have the right privileges, but when I check :
show grants for 'root'@'localhost';
I've got :
GRANT ALL PRIVILEGES ON *.* TO 'root'@'localhost' WITH GRANT OPTION
GRANT PROXY ON ''@'' TO 'root'@'localhost' WITH GRANT OPTION
Then I thought my datadir variable was not well configured, but when I try :
show variables;
I've got :
datadir /var/mobile/mysql/Library/data/
which is the right path, where mysql and performance_schema folder databases are stored.
Any idea ?
B.R.
-- 
MySQL Internals Mailing List
For list archives: http://lists.mysql.com/internals
To unsubscribe:    http://lists.mysql.com/internals