Closed. This question needs details or clarity. It is not currently accepting answers.
Want to improve this question? Add details and clarify the problem by editing this post.
Closed 8 years ago.
Improve this question
I have two mysql db . One is 10.0.3.129, another is 10.0.3.139. I want to connect 10.0.3.129 from 10.0.3.139. Could someone tell me what should I do with 10.0.3.139 and 10.0.3.129 ? ? Thank you .
Make sure that MySQL port is open for connection from 10.0.3.139 to 10.0.3.129, verify using
telnet 10.0.3.129:<MySQL port> where you have configured your server.
Create a MySQL user in 10.0.3.139 like:
Create MySQL user in server by executing this query
CREATE USER 'test'#'10.0.3.139' IDENTIFIED BY 'test123';
and given proper permission to this user by using GRANT syntax.
Now try to connect using MySQL command line or any GUI tool from 10.0.3.139, it should work.
Related
Closed. This question needs debugging details. It is not currently accepting answers.
Edit the question to include desired behavior, a specific problem or error, and the shortest code necessary to reproduce the problem. This will help others answer the question.
Closed 2 days ago.
Improve this question
I ran following commands in MySql command line
grant all privileges on . to root#localhost;
flush privileges;
but it didn't work
How to grant all permissions to all users no need of thinking about security I just want to start this project immediately on my local machine
And in console onclick the signup button this error occuring(img 2)
I am tried several command to grant permission I don't succeed.
Closed. This question is not reproducible or was caused by typos. It is not currently accepting answers.
This question was caused by a typo or a problem that can no longer be reproduced. While similar questions may be on-topic here, this one was resolved in a way less likely to help future readers.
Closed 5 years ago.
Improve this question
hello, i am trying to connect to my Mysql database but i get this error : MySQL error: Error: ER_ACCESS_DENIED_ERROR: Access denied for user 'hulken3'#'localhost' (using password: YES)
I have given this user "hulken3" all privileges but it's still not working,
You may need to give privilege to new user, so connect as root user and grant permission. Hope information in below site, gives you instruction on how to do that
http://dev.mysql.com/doc/refman/5.5/en/adding-users.html
My problem was that my Domain provider was blocking connections to the Mysql database. Thanks for your answers!
Closed. This question does not meet Stack Overflow guidelines. It is not currently accepting answers.
This question does not appear to be about programming within the scope defined in the help center.
Closed 8 years ago.
Improve this question
I am trying to connect to mysql server on one.com's phpmyadmin.
I am using dreamweaver setting up (atleast trying) mysql connection, but i don't know what to put in the 'mysql server' box.
Any help please?
Thanks in advance!
An ip address (192.168.xxx.xxx) or server name.
It's either the hostname (eg. localhost or mysql.example.com) or the IP of the server (eg. 127.0.0.1). You can find example values in the documentation:
MySQL Server: mysql1.myDomain.com
User Name: dbuser
Password: myPassword
Closed. This question needs to be more focused. It is not currently accepting answers.
Want to improve this question? Update the question so it focuses on one problem only by editing this post.
Closed 9 years ago.
Improve this question
I am doing a project on hotel management, How can i create a MySQL database (that will connect to java), where the admin has the sole right and the receptionist has privileges on some of the tables, like inserting, selecting...
This is possible, have a look at http://dev.mysql.com/doc/refman/5.5/en/privilege-system.html. However, I would highly recommend to handle these kind of permissions on application (java) level, so you don't have to switch mysql users inside your app.
Install MySQL.
mysqladmin -u root password "secret-password"
mysql -u root -p'secret_password'
> CREATE DATABASE hm ;
> GRANT SELECT,INSERT,UPDATE ON hm.* TO hm_receptionist#'%'
> IDENTIFIED BY 'secret_password' ;
> GRANT ALL ON hm.* TO hm_admin#'%'
> IDENTIFIED BY 'secret_password' ;
Closed. This question is off-topic. It is not currently accepting answers.
Want to improve this question? Update the question so it's on-topic for Stack Overflow.
Closed 10 years ago.
Improve this question
I am using a mysql server on my linux ubuntu 10.04.
Everything is working fine, when I use example.com as the mysql server name.
When I use www.example.com as the mysql server name, the connection does not work. Where can I change the settings.
The URL of my website is working with www and without.
Is the mysql server name a setting in the mysql configuration or is it the hostname of my domain?
You can check your MySQL servers users table. When you see the user, edit it and set this value for the host he/she can connect to:
%example.com
The % is a wildcard for everything in front of "example.com". The second alternative is to add a new user<->host combination via CREATE USER http://dev.mysql.com/doc/refman/5.1/en/create-user.html
BUT ATTENTION: You should never, never, never connect to your MySQL from outside localhost. And if so, use an SSH Tunnel to do so.