Google Groups no longer supports new Usenet posts or subscriptions. Historical content remains viewable.
Dismiss

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

0 views
Skip to first unread message

frederic nivor

unread,
Mar 10, 2013, 3:15:33 AM3/10/13
to
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

0 new messages