I think that I have read just about everything on the Internet that there is about this subject but non of them fully help with my situation.
Firstly I have grasped the concept that this error message is related to mySql passwords, but here is my scenario.
I have my local PC set up as a web server for development purposes and I have phpMyAdmin installed. I also have a similar setup on my laptop, and the third part is that I have a hosted web account.
On my desktop I could connect to the mySql database on the desktop and to my hosted account no problem. I then decided that it would be a good idea (in retrospect read bad idea) to update the desktop to the latest versions and since doing so I have been getting the dreaded "mysqlnd cannot connect to MySQL 4.1+" message when I try to access my host via phpMyAdmin. There is no problem with accessing the host via my laptop or via my host's Control Panel.
Therefore I am thinking that the problem is something to do with my desktop sever installation, but for the life of me I cannot figure out what it could be.
The configurations are:
----------------- Desktop ---------------Laptop -----------Host
Apache ---------- 2.2.17 --------------- 2.1.11 ---------- 2.2.11
PHP ---------------5.3.5 ----------------- 5.2.9-2 --------- 5.2.9-2
mySql server --- 5.5.12 ---------------- 5.1.34 ---------- 5.0.41
mySql client ---- mysqld 5.0.7-dev --- 5.0.24a -------- 5.0.24
OS -------------- Win 7 (64 bit) --------- Win 7 (32 bit) --- nix
Any help or suggestion would be appreciated
Don't use the mysqlnd driver for phpMyAdmin. Try instead mysql or mysqli. You should see a line something like
$cfg['Servers'][$i]['extension'] = 'mysqlnd';
in /etc/phpmyadmin/config.inc.php. Try changing mysqlnd to mysqli or mysql.
Related
I work with Eclipse and I want to use the version 7 of Liferay but when I run my Tomcat server I have an error with MySQL.
Please upgrade to at least MySQL 5.6.4. The portal no longer supports older versions of MySQL
Like this the problem is pretty obvious but my SQL version is already 5.7.19
I have check my driver of MySQL in preference->data management->connectivity->driver definition and my MySQL JDBC Driver is 5.1
I want to know if someone already had this issue and know how to fix it
This is how the version gets validated, and this is how the version string gets constructed. I'd say: Please make extra extra extra sure that you are addressing the mysql server that you intend to address:
You can check your mysql version from the mysql command line client by executing select version();. Get your credentials and database URL from Liferay's portal-ext.properties or your appserver's connection pool configuration, depending on where you configured it.
I am trying to connect Power Bi (Desktop version) with my online amazon mysql database. It demands for following information once you try to establish connection
Server: server ip
Database: database name
Username: mysql username
Password: mysql password
First time I received a bit lengthy error, which was because of unavailability of mysql-connector-net-6.6.5.msi. So I followed this link to solve the issue
Microsoft Power BI connect to mysql
After installing mysql-connector I am facing another error.
Whats wrong? One of my mates has successfully connected using the same credentials that I am using.
Okay, I just figured this out for myself. I'm able to connect directly to a MySQL database on port 3306. As I understand, it would be more secure to go through an SSH tunnel, but this doesn't work yet with Power BI.
So here are instructions for connecting directly:
First, let's make sure that everything besides the PowerBI connection is working.
1) Download and install the correct version of the MySQL/Net Connector. Right now, version 6.6.5 is the one that works. But from other forums, and from within PowerBI itself, I linked to other versions that did not work. (You will know it isn't working, because you probably won't be able to even open Get Data/MySQL Database/Connect.)
2) See if you can connect remotely to your database through some well established utility like MySQL workbench. If you can't,
- look at ports on the remote server. Here's a cool utility to check ports&IPs: http://www.yougetsignal.com/tools/open-ports/
- Check the permissions of the DB user. Realize that they may be affiliated with an IP address: 'username'#'ipaddress'. So that user can only connect for a particular IP.
- Check the bind address setting. In newer versions of mariadb, it should probably be commented out. I'm not sure about older version and pure mysql.
- other troubleshooting.
So after that's working, here are the settings which worked for me in MySQL:
go to Get Data/MySQL database/connect
Server: ipaddress:3306 (include ":port#")
Database: dbname
PowerBI interface. Select "Database" instead of "Windows"
Make sure you select Database instead of Windows.
Good luck.
Just a small tip. If you haven't already, restart the machine you just installed the connector on. I had to restart before it started working.
My solution for this was to add the port number to the server name/ip
eg. 192.168.0.1:4664
There have been a number of questions on this topic on Stackoverflow but not exactly my situation.
I have a MySQL server installed on my PC, which was working fine. We used to have a peer-to-peer network in the office. My PC was just named "MY-PC". Some change occurred to the network and my PC is now connected to a "proper" network, and the name of the PC has changed to "MY-PC.mycompanywebsite.co.uk".
Now every time I try to connect to MySQL it gives me the error:
#1130 - Host 'My-PC.mycompanywebsite.co.uk' is not allowed to connect to this MySQL server
I can't log in using the command line tool or anything. Is there a config file setting I need to change to get this working?
By the way, this is a version of MySQL which came in an installation of WAMPServer, so I did not configure it myself.
I was following the instructions, have downloaded mysql-installer-community-5.6.16.0.msi – 250.8MB, using this trying to add MySQL Server 5.6.21 - x64 from Available products, as soon as I select, I get an error - and have copied the error details - just wondering why I got stopped installing MySQL server, Thanks
System:
Windows 7 64 bit
It's bit weird as it mentioned in instructions, all have to do is to change the system time format, and it's installed successfully.
On this particular machine (Windows 7 32 bit) I am not able to see the Driver Information of the Connector - although the entry is there (it shows MySQL ODBC 5.1 Driver) - but there is no information in the Version Column or the Company Column - which then am assuming that the driver is not properly installed -
I have tried several times to uninstall/install - or install a different version - it is just not helping.
How do I completely remove the previous version of the Connector that is installed or how do I ensure that the Driver is installed properly.
Please note that this driver is running absolutely fine in other Windows 7 machine (both 32 bit and 64 bit) - it is just this machine which is creating a problem.
Other thing that I want to mention here is that - I am able to install the MySQL Server on this machine - the Query Browser is running fine - Application on other machines can access this server - but the same application does not run on this machine - it throws an error "Data Source Name not found or No Default Driver Found" - it is because of the same Connector problem.
Please help!!