473,396 Members | 1,961 Online
Bytes | Software Development & Data Engineering Community
Post Job

Home Posts Topics Members FAQ

Join Bytes to post your question to a community of 473,396 software developers and data experts.

Grant access from dynamic ip

I am trying to access mysql on a remote server over the internet. The odbc
driver says that

ro**@myCurrentIPaddress.com does not have access to mysql.

How do I grant access to root from a remote computer.

Thanks
wj
Jul 19 '05 #1
2 5624
Go into mysql on the server and "use mysql" then
select user, host, password from user;
On a default install you will find two entries for root - both with no
password but one for localhost and one for % which is any IP - I suspect
you will be missing the % entry so just create a new user (look up the
syntax on mysql.com).

If you are accessing you systems remotely and don't have public access
you should seriously consider static IP and only allowing that through
your firewall.

willjay wrote:
I am trying to access mysql on a remote server over the internet. The odbc
driver says that

ro**@myCurrentIPaddress.com does not have access to mysql.

How do I grant access to root from a remote computer.

Thanks
wj


Jul 19 '05 #2
Go into mysql on the server and "use mysql" then
select user, host, password from user;
On a default install you will find two entries for root - both with no
password but one for localhost and one for % which is any IP - I suspect
you will be missing the % entry so just create a new user (look up the
syntax on mysql.com).

If you are accessing you systems remotely and don't have public access
you should seriously consider static IP and only allowing that through
your firewall.

willjay wrote:
I am trying to access mysql on a remote server over the internet. The odbc
driver says that

ro**@myCurrentIPaddress.com does not have access to mysql.

How do I grant access to root from a remote computer.

Thanks
wj


Jul 19 '05 #3

This thread has been closed and replies have been disabled. Please start a new discussion.

Similar topics

12
by: | last post by:
I issued the mysql command Grant all on *.* to myid@localhost identified as "mypw"; and recieved the error message ERROR 1045: Access denied for user" '@localhost' (Using password: NO) I...
3
by: Bruce A. Julseth | last post by:
I am doing something wrong or have something set up wrong. When I issue mysql> grant all on * to mike identified by 'joented' with grant option; Query OK, 0 rows affected (0.69 sec) It...
0
by: Charles Cantrell | last post by:
I have recently set up mySQL on a Mandrake release of Linux (Version 7 of Mandrake, I believe), using the binary 4.0.13 standard release. The set up and start up all were normal, as far as I...
1
by: Adam Smith | last post by:
I have a new DB provided by my ISP don't know details of installation, setup etc. I can log in as anybody except root. mysql -h localhost -u mysql Welcome to the MySQL monitor. Commands end...
1
by: Bozo | last post by:
Hi, I am using WMI, Win32_LogicalFileSecuritySetting etc to grant access to a particular file for a user on a share on the server. This works fine for word document extensions etc. However...
2
by: Andreas Zita | last post by:
Hi I have some space on a server host where I put my asp.net applications. However I (my app) doesn't seem to have write permissions to it's folders. I want to save some log-files...
1
by: zeus | last post by:
Hi there, I am using Postgresql 7.3 and I want to grant select rights to a user on all tables in a schema, including those that may be created in the future but whose names are not yet known. I...
6
by: john_woo | last post by:
Hi, db2 GRANT all on a_table_name to user me is for a table, I'm wondering possible to grant all on all_tables to user me, without listing all tables' names? -- Thanks John
0
by: unixNAB | last post by:
MySQL 5.0.x Hello, I'm trying to work out but the MySQL reference guide to the grant syntax is a little off, it says... so i wanted to do something like grant all on %_log.* to .......;...
0
by: ryjfgjl | last post by:
In our work, we often receive Excel tables with data in the same format. If we want to analyze these data, it can be difficult to analyze them because the data is spread across multiple Excel files...
0
by: emmanuelkatto | last post by:
Hi All, I am Emmanuel katto from Uganda. I want to ask what challenges you've faced while migrating a website to cloud. Please let me know. Thanks! Emmanuel
0
BarryA
by: BarryA | last post by:
What are the essential steps and strategies outlined in the Data Structures and Algorithms (DSA) roadmap for aspiring data scientists? How can individuals effectively utilize this roadmap to progress...
1
by: nemocccc | last post by:
hello, everyone, I want to develop a software for my android phone for daily needs, any suggestions?
1
by: Sonnysonu | last post by:
This is the data of csv file 1 2 3 1 2 3 1 2 3 1 2 3 2 3 2 3 3 the lengths should be different i have to store the data by column-wise with in the specific length. suppose the i have to...
0
by: Hystou | last post by:
There are some requirements for setting up RAID: 1. The motherboard and BIOS support RAID configuration. 2. The motherboard has 2 or more available SATA protocol SSD/HDD slots (including MSATA, M.2...
0
marktang
by: marktang | last post by:
ONU (Optical Network Unit) is one of the key components for providing high-speed Internet services. Its primary function is to act as an endpoint device located at the user's premises. However,...
0
jinu1996
by: jinu1996 | last post by:
In today's digital age, having a compelling online presence is paramount for businesses aiming to thrive in a competitive landscape. At the heart of this digital strategy lies an intricately woven...
0
tracyyun
by: tracyyun | last post by:
Dear forum friends, With the development of smart home technology, a variety of wireless communication protocols have appeared on the market, such as Zigbee, Z-Wave, Wi-Fi, Bluetooth, etc. Each...

By using Bytes.com and it's services, you agree to our Privacy Policy and Terms of Use.

To disable or enable advertisements and analytics tracking please visit the manage ads & tracking page.