[x]
Posted via EE Mobile

Search, ask, and monitor your questions on the go with EE Mobile. Visit Experts Exchange from your mobile device and never be out of touch again.

10/29/2009 at 06:32PM PDT, ID: 24856813
[x]
Attachment Details
[x]
The Solution Rating System

With so many solutions, how can you tell which solutions are most likely to help you and which ones are not? To provide you with a tool to use, we rate our solutions based on various elements that most accurately determine if a solution is a quality solution. To explain what factors affect the solution rating, here are the elements we take into consideration when formulating our solution rating.

  • The Grade of the Solution
  • The Zone Rank of the Expert Providing the Solution
  • The Number of Author and Expert Comments
  • The Number of Experts Contributing
  • The Feedback of the Community

Your Input Matters
Because of the way the system is set up, the most important variable in this equation is you. As a member of Experts Exchange, you are able to cast your vote on the quality of the solutions in regard to how complete, accurate, helpful and easy to understand each solution is. When you provide your feedback, each rating is adjusted accordingly. So, if you see a solution that has a poor rating that you think is a good solution, let us know by rating it. As you do, the rating will be adjusted and will become more accurate for other members of our site.

If you have any suggestions that you would like to make for our rating system, please ask a question in the Suggestions Zone of Community Support.

Thank you!

8.2

Cannot connect remotely to MySql Server from Workstations

Asked by eric3123 in MySQL Server, SuSE Linux

Tags: MySql Suse Linux 10.0

Cannot connect to MySql Server remotely

I am doing volunteer work at a non-profit.  We have a Suse Linux 10.0 box ip address 192.168.0.100, with MySql Server 5.0.15, with Apache2 running a custom PHP application.

We want to write some reports in Microsoft Access, using MySql odbc drivers, from various workstations, only workstations on the local subnet 192.168.0.0/24 will need access.  They have never accessed the database this way before.

The workstations cannot connect.  I have been using telnet 192.168.0.100 3306 and I get 192.168.0.150 is not allowed to connect to this MySql Server.

Things we have done:

Added bind-address = 192.168.0.100 in my.cnf
Remarked out skip-networking.
(we then stopped and restarted mysql server).

The firewall is not running on this server, however we added IP Table exceptions to port 3306.  Have verified that port 3306 is the default port.

We issue the command
netstat -an | grep 3306
we get:

tcp 0 0    192.168.0.100:3306     0.0.0.0:* LISTEN

Permissions have been a problem.  We cannot sign on to MySql as root.  Whoever created this build has a special db admin, called dbadmin.

We can login to mysql accordingly:

We use putty to connect to the server, su as root, and get the # prompt.

#>mysql -u dbadmin -p

We get to the mysql prompt

But we cannot do mysql -u root -p
We use the root logon password (and a blank password) and it says

Access denied for user 'root'@'localhost'  (using password: YES)

The grant all commands do not work when logged on as dbadmin, we get 'dbadmin'@'localhost' denied

The special dbadmin user (according to Webmin) is not in the normal user list, it is viewable by going to Servers, MySql Database Server, click Module Config.

The PHP application uses the dbadmin ID.

In Webmin, when we try to access global options (in MySql Server), (user permissions, database permissions, host permissions, etc.) we get:

DBI connect failed : Access denied for user 'dbadmin'@'localhost' to database 'mysql'

[+][-]10/30/09 12:49 AM, ID: 25700789

At Experts Exchange, members can ask their questions to thousands of technology professionals, also known as Experts. Experts compete and collaborate to answer those questions by leaving comments like this one.

Start your 30-day free trial to view this Expert Comment or ask the Experts your question.

 
[+][-]10/30/09 05:39 AM, ID: 25702306

Often, when Experts are collaborating with members who have asked questions, they will request additional information about the problem. Askers respond with an author comment like this one.

Start your 30-day free trial to view this Author Comment or ask the Experts your question.

 
[+][-]10/30/09 10:18 AM, ID: 25705032

View this solution now by starting your 30-day free trial. Setting up your free trial is quick, easy, and secure. We will return you to this solution, unlocked, when you're done.

 

About this solution

Zones: MySQL Server, SuSE Linux
Tags: MySql Suse Linux 10.0
Sign Up Now!
Solution Provided By: eric3123
Participating Experts: 1
Solution Grade: A
 
 
[+][-]10/30/09 01:09 PM, ID: 25706389

At Experts Exchange, members can ask their questions to thousands of technology professionals, also known as Experts. Experts compete and collaborate to answer those questions by leaving comments like this one.

Start your 30-day free trial to view this Expert Comment or ask the Experts your question.

 
 
Loading Advertisement...
20091111-EE-VQP-91 - Hierarchy / EE_QW_3_20080625