Goodday guys,
I've a ubuntu WEMP server and I also installed phpmyadmin. I can access my phpmyadmin by typing the IP adress or domainname and then adding /phpmyadmin to it.
Now I want to connect it with MySQL workbrench. I already added a username in phpmyadmin with martijn#% and I updated the config.php file by phpmyadmin to:
$cfg['Servers'][$i]['host'] = '95.85.9.114';
$cfg['Servers'][$i]['user'] = 'root';
$cfg['Servers'][$i]['passwd'] = "PRIVATE:)"
MYSQL WORKBRENCH ERROR 10061 ERROR PNG
Can someone help me with this? I'm a little bit of a newby in the server world. I always payed for a ready server with everything installed easy to configure. But now I've my own server
Make yourself clear what a client/server architecture means. MySQL is a server, phpMyAdmin and MySQL Workbench are both clients. How can two clients connect to each other in such a scenario? You cannot do that. You can only connect MySQL Workbench to your MySQL server (as you do with phpMyAdmin). Use the same credentials for connection unless MySQL Workbench doesn't run on the same machine as the web server (where phpMyAdmin is running on). In that case you have to use the IP address of the machine MySQL is running on.
Related
Windows Server 2008
Tableau Desktop 7.0
Local MySQL database using Xampp
When attempting to connect to a localhost MySQL database server using the native MySQL data connection in Tableau Desktop, I'm getting the following error:
"The connection to the data source might have been lost.
Communication with the Tableau Protocol Server process was lost.
Unable to connect to the server "localhost". Check that the server is running and that you have access privileges to the requested database.
Unable to connect to the server. Check that the server is running and that you have access privileges to the requested database."
When using "Other Databases (ODBC)" in Tableau, I am able to connect and return data. However, I would prefer to use the MySQL connection to avoid the limitations of the Other Databases connection.
I created a specific username in phpmyadmin as well as tried using the root username and password and the same error was returned. I created a user DSN in odbcad32.exe and attempted using multiple versions of the MySQL ODBC driver (3.5, 5.2.7, 5.3.4).
Does anyone have any ideas of what might be causing the error? Really appreciate any help.
A bit late in replying but....
MySQL user connections are based on a combination of username,password AND the host you are connecting from.
If you are connecting to MySQL on the same host as Tableau server, then the connecting host could be seen as '127.0.0.1', 'localhost', '::1' or even a hostname if MySQL is configured to resolve those.
The simple way to test would be to set the host field to '%' for the user you are trying to connect as. I would not recommend this for your root user entry or other accounts with significant privileges.
I'm trying to setup a new connection in MySQL Workbench to MySQL server on my other network computer named say: SERVER
Hostname: SERVER
Port:3306
Username and password I leave blank.
I'm getting "unknown server host"
SERVER has dynamic IP.
How do I provide the correct Hostname?
I don't think that you can connect to a computer of your network with its name only in MySQL Workbench.
So, if you can't allocate a fixed IP with DHCP to your computer running MySQL maybe you could use port forwarding in your router config (localhost:port -> computer2_ip:mysql_port) so you will be able to connect to localhost:port in MySQL Workbench. You could also create a tunnel between the two computer but I think this is rather a question for ServerFault.
Hi I'm trying to create a new Connection to an MySQL database installed on a remote Windows server. However, due to server authentication problem, I cannot get the local mysql workbench connected to the remote database. And I could not find a place in workbench where I can provide my server authentication, i.e. username and password to access server. Does anyone know how to do this?
Thanks!
in the Home window of mysql workbench, near Mysql Connections there is a + button, click on it to Open the setup new Connection wizard, then you get to enter the server's parameters.
Hostname : your Windows Server's host name.
Port : Port on which the remote mysql server communicate.
Username : your Mysql server's Username.
Password : your Mysql server's Password.
Default Shcema : the database you want to connect to.
Hope this helps
I have a db hosted at Godaddy.
I've made a backup of my MySQL 5.0 database.
I deleted the db.
I've made a new db which uses MySQL 5.5
with the same password as used before.
Now I can't connect, and am getting this error message:
Can't connect to local MySQL server through socket '/var/lib/mysql/mysql.sock' (2)
In Godaddy's database details menu the hostname is incorrect. I had to get into phpmyadmin and copy the IP address shown there. Using that when connecting via PHP makes everything okay.
In this question I am using Windows 7 32-bit, and MySQL Workbench 5.2.35 CE Rev 7915
I'm trying to create and connect to a mysql database on my localhost. It seems obvious. I should start up Workbench, go to Server Administration -> New Server Instance, tick the 'localhost' radio button and follow the wizard. But I get to the 'Test DB Connection' step and it fails to 'Open Database Connection'. The Message Log says:
Connecting to MySQL server localhost...
Can't connect to MySQL server on '127.0.0.1' (10061)
Now, my question is this: Am I supposed to have already installed and started up a MySQL server on my localhost with some tool or program other than Workbench? It seems like this wizard is just supposed to create a connection to an already existing mysql server, but I don't know how to create a server on my localhost. I hoped Workbench would provide a way to do all of this: Create MySQL server, start it up, connect to it, query it, etc. but it seems like maybe it can only connect to already existing servers.
What should I do to create a MySQL server on my local machine and connect to it with MySQL Workbench?
You can't. MySQL Server and MySQL Workbench are separate products, as Workbench is a GUI to the Server. To install both, download "MySQL Installer for Windows" and (by default) it will install both (and other) MySQL products.