I just installed phpmyadmin 4.0.8. Am trying to use it to access 4.1.20 database running on Linux. When I attempt to log into the database server using phpmyadmin, I get this error:
SELECT * FROM information_schema.CHARACTER_SETS
MySQL said:
Documentation
1146 - Table 'information_schema.CHARACTER_SETS' doesn't exist
Tried disabling information_schema in config:
$cfg['Servers'][$i]['DisableIS'] = true;
$cfg['Servers'][$i]['ShowDatabasesCommand'] = 'SHOW DATABASES';
But, get same error. Is there some workaround for this so that I can still use phpmyadmin to manage this database? Any suggestions?
Thanks!
-ron
show databases;
If this command doesnt show information_schema it means your mysql version is old.
I see yours is MySQL version 4,for INFORMATION_SCHEMA you need 5.
Related
Hi I can connect with my mariadb user by mysql workbench. But once, I cannot find how I can work on my databases? I can only my see them when I do "data export", and then I see very well the two databases...
I search the equivalent of the command line
use mydatabase;
thanks
So I read somewhere that Django doesn't create the DB in production on MySQL. It only created the tables and you have to create the DB in MySQL before you can do syncdb. However, I made the mistake of doing syncdb when the database with the name in my.cnf didn't exist. And now I'm locked out of mysql. I can't log into it using mysql -u root -p. It gives me error: ERROR 1049 (42000): Unknown database
Figured it out. Just comment out the part specific to the database in which Django tried to create tables (in the file my.cnf). Then you should be able to log into MySQL.
I connect my Rails app to MySQL database, working with that and after turning off the laptop and starting Rails and MySQL server again, I get the error
ActionView::Template::Error (Mysql2::Error: Table 'database.table' doesn't exist: SHOW FULL FIELDS FROM `table`):
This is in Rails log.
When I log in into MySQL through the terminal
mysql -u root -p
choose a database and then try to display data from a table, like
mysql> select * from users;
ERROR 1146 (42S02): Table 'database.users' doesn't exist
I google this issue and found a temporarily solution, but this is not appropriate because it involves remove all old data in the respective database:
cd /usr/local/mysql/data
sudo rm -rf database_name
So I would like to ask you for help - how to properly figure out this issue?
Thank you
Looks like you're using rails, did you issue the command
rake db:migrate
And while you're in mysql I suggest you to get the list of available tables with:
show tables;
I'm having trouble to remove MySQL Databases that's what I'm getting, I'm using 5.6 MySql
when I hit show databases:
I'm having the list of dbs such as gameserver_beta, loginserver_beta and etc however, when I use command drop database <gameserver_beta>;
I'm getting an
error 1064 (42000) yOu have an error in your SQL syntec, check the manuel that correspond to your MySQL server version ...
drop database database_name;
drop database ;
Here you did not specified any database name
try wth this
I have phpmyadmin installed on linux web server.
WHen i log into phpmyadmin using root user to see information_schema and click on table called triggers then at the bottom of table structure i see this line
unknown table status: TABLE_TYPE
Is that the error or something else
Seems to be an error in phpmyadmin
I updated to version 3.4.0 and the message is gone.