Navicat Essentials Mac Database list - navicat

I have been using Navicat Essentials for some time and all worked well.
Today I opened Navicat and it gave me a message and asked me to download again from App Store. Which I did.
Now I am able to connect with the root user but it does not show me any databases. Everything is on localhost. If i connect from the terminal using the same root user - i can see all the databases. Mysql is running on localhost and terminal connection works well.
In Navicat the only thing that I am seeing is infomarmation_schema. No other databases are coming up.
It is not a privileges issue. I already checked that. The root user has all the privileges defined in Navicat.
Has someone seen anything like this before and can help with whats going on here.
Thanks,
Deepinder

I am posting an answer to my own question. I downloaded Mysql Workbench and when I tried to connect from there - it gave me an error.
Table 'performance_schema.session_variables' doesn't exist
I searched on this and got the solution -
mysql_upgrade -u root -p --force
Then restart mysql server and everything works. I can see the list of databases in Navicat now.
Thanks

Related

Windows 10 (OS) - XAMPP with localhost - Oxwall software - Cron issues

I know this may be a long shot targeting those here on stackoverflow who use oxwall software to help me with my question, but sadly, I've tried all other sources - even the oxwall forums but to no avail.
For starters - here is what I have so far:
I'm currently running Windows 10 as my OS
I have XAMPP installed
Control panel Apache and MySQL are activated or started/running
Using Localhost:100 instead of Localhost:80 due to conflicts with other applications
User: root with password left blank or empty
I have the Oxwall software - version 1.8.0 within my htdocs folder
I have a database setup using mysql with it's current port set to 3306
My issue:
When installing the oxwall software and get to the third section in the installation process, I am unable to proceed due to setting up a cron job incorrectly.
Due to the fact that I'm running on a localhost with my port as 100 - on a windows machine, using xampp - I'm pretty much clueless on how to get this cron job working correctly and/or even setup for that matter.
I've read literally all the topics that were discussed on the oxwall forums and even followed their documentation but still nothing.
The error I get is this:
ow_includes/config.php file is incorrect. Update it with details provided below.
However, the only details given states:
• Create a cron job that runs ow_cron/run.php once a minute. (?) - with the question mark directing me to the oxwall documentation of how to setup a cron job. But that doesn't seem to work...
I'm literally at a loss here, I've tried to create a .bat file and created a task schedule but nothing...
Even if there is nobody here that uses Oxwall, I'm hoping this can still be answered.
Any help is greatly appreciated!
I received the same error message when using using Oxwall 1.8.1 on my own VPS with CentOS 7, PHP 5.5.31 and mariaDB 5.5.44.
I noticed that the DB only contained one table because my DB user does not have 'Lock table' rights. Once I added these rights to my DB user for Oxwall DB, removed the table and continued the installation, all tables were created and installation was successful.

Cannot write logs

I created a new Centos 6.5 VM in Azure and had RethinkDB running within a few minutes, which is great! However, I've been in the "Data Explorer" web interface and playing with ReQL queries for a while and suddenly I got an issue: "Cannot write logs" "File cannot be written on server xxx" "Log file is inaccessible on server xxx". I'm relatively new to Linux and hoping someone has previously resolved this.
To my surprise, the only reference to this error on the web is an issue on the RethinkDB repo: https://github.com/rethinkdb/rethinkdb/issues/2488 which doesn't really provide a solution, as far as I can see.
Try
sudo chmod -R uog+rw /var/lib/rethinkdb/*
If it doesn't work, try to just start rethinkdb from the command line to see if you still have the same issue.

MongoDB out of the box: not authorized for insert (Windows 7)

I've been following along with the actual MongoDB docs here
as well as several tutorial articles that are getting me absolutely nowhere.
Running a 64bit windows OS (which is a work computer, and my particular windows login is not an administrator login.. so I make sure to open any exe files as administrator). I can't do anything in the terminal beyond "mongo" or "use [db name]".
I cannot save or add anything like db.testData.insert( j ). Even typing "show dbs", I get an error that says
listDatabases failed:{ "ok" :0, "errmsg" : "unauthorized" } at src/mongo/shell/mongo.js:46
With every example I've followed, I can never seem to be "authenticated" to get past point A. Please help me! I have no idea what I'm doing wrong at this point.
UPDATE:
Sorry for the confusion, everyone. The problem turned out to be that I had an old MongoDB service still running in the background that I needed to disable.
The service must have been turned on while I was testing out some node packages or something. Once I disabled the service, everything started working as expected.
So for those of you who are having trouble, make sure you open up services.msc and make sure nothing is running MongoDB
As there isn't a formal installer for Windows, I'd recommend you delete the data folder and restart. Out of the box, there is no security in MongoDb, so you've followed a step which later requires a password. Either retrace your steps, or start over.
You don't need to switch to the admin Database. I'd suggest you instead switch to a test database for example:
> use test
switched to db test
By default, without extra configuration, on Windows you can delete the contents of c:\data\db when MongoDb isn't running (but if you're using a configuration file that specifies the dbpath, delete the contents of that folder).
There are a number of tutorials with details of how to configure users/security with Mongodb that you may want to read after you've resolved this issue.
There's little reason to create users and administrative control with MongoDB until you gain some experience with the platform. In fact, I wouldn't recommend it at all. It just gets in the way as you're seeing for no real gain.

Cannot connect with FreeNX to Ubuntu ec2 instance

I have recently spun up a new Ubuntu 12.04 instance in AWS. I had no issues connecting to and opening an SSH terminal to the server. Having connected to the instance, I was able to install the Ubuntu desktop and FreeNX without any problem, as well as enabling password authentication on the server instance.
I downloaded and installed the NX Client for Windows on a PC running Windows 8. After entering the user credentials I can connect to and authenticate into the server. I'm brand new to the Linux world, but at this point everything was going so smoothly I was about ready to throw my Windows licenses to the dogs - good thing I held off on that.
"Problem: At the client, the !M logo window appears, but after a few seconds that window just closes, even without showing any error message."
That problem statement is in quotes because it's precisely the issue described in FreeNX Ubuntu Community support documentation https://help.ubuntu.com/community/FreeNX#Troubleshooting.
So naturally I follow the solution in the guide:
"Solution: The issue is due custom VNC configuration. In the server, access your home directory and run these commands,"
sudo rm .Xauthority*
touch .Xauthority
chmod 600 .Xauthority
Unfortunately, this did absolutely nothing to resolve the issue. The problem would be easier to diagnose if I had an error message, but reference the Problem statement, there is no error message to be had. Several hours of googling yielded nothing, so wondering if anyone here has encountered this problem in the past, and if so, they would be willing to help.
Thanks!

phpmyadmin on Oracle Linux Server

I'm a newbie in the open source world. Always used to paying i can't imagine we can get a whole OS for free!!! None the less from reputed companies like Oracle, i'm sold! OK so i got Oracle Linux server 6.1 installed and its running fine. I also checked all the boxes under webserver and MySQl during installation and i can see the Apache home page when i type localhost on the browser and i have started both the Apache & the MySql services.
My question: is there a GUI based admin tool like phpmyadmin to administer the MySql DB which is already installed? If not can someone point me to a step by step guide for the same. I have been trying since last 4 days and i just can't understand how to do this and what is required? I also saw some post saying something like Oracle Enterprise Manager is available through which we can administer the DB but i just can't find out how to get to the console? Is there a locahost url or something to get it to work?
Finally all i want to do is run Drupal on the Linux server and be able to administer the DB with phpmyadmin, if everything is complicated can i just install LAMP or XXAMP which will give me everything i need in one go. Although i feel since Apache & MySQL is already installed when i installed the OS not sure what will happen.
I know i'm all over the place, making the transition from Windows and am really new to this. Any help will be greatly appreciated.
Thanks,
KK
Oracle Enterprise Linux is based off of the Red Hat sources, just like CentOS.
Found a link on how to get it setup with CentOS 6, which should work for OEL.

Resources