• 0

Mysql Problems


Question

Hello

I am running Red Hat 8 with Apache & mySQL, i've got a copy of PremiumSoft MySQL Studio but when I enter my details, it says it cannot connect?

My Intranet site is running fine, and mySQL is running OK, the username and password are correct but mySQL Studio says it cannot connect as "root@10.44.16.191"

Can anyone help?

Thanks

Ben :)

Link to comment
https://www.neowin.net/forum/topic/53185-mysql-problems/
Share on other sites

12 answers to this question

Recommended Posts

  • 0

It may be a firewall/configuration error, try the following and let me know if it helps:

1) Create a custom firewall rule enabling port 3306 access by logging it as root and typing "lokkit" then restart iptables via "/etc/rc.d/init.d/iptables restart" or "/etc/rc.d/init.d/ipchains restart"

2) Modify /etc/rc.d/init.d/mysqld and replace '--skip-networking' with '--port=3306'

3) Start the daemon up via "$bindir/safe_mysqld --datadir=$datadir --pid-file=$pid_file --port=3306 &"

4) Log in as root to mysql (mysql -u root -p) and grant permissions to the database you want i.e. GRANT ALL PRIVILEGES ON dbname.* TO 'username'@'serverip' identified by 'password';

5) Restart MySQL and all should be good.

Good luck!

Link to comment
https://www.neowin.net/forum/topic/53185-mysql-problems/#findComment-529892
Share on other sites

This topic is now closed to further replies.
  • Recently Browsing   0 members

    • No registered users viewing this page.