Go Back   HowtoForge Forums | HowtoForge - Linux Howtos and Tutorials > Linux Forums > Installation/Configuration

Do you like HowtoForge? Please consider supporting us by becoming a subscriber.
Thread Tools Display Modes
Old 19th March 2007, 21:04
mwburris mwburris is offline
Junior Member
Join Date: Mar 2007
Posts: 4
Thanks: 0
Thanked 0 Times in 0 Posts
Default My first server.. mysql. problems /w Ubuntu Lamp Server

This is my first lamp server. I am pretty excited about the results so far, but i ran into some problems.

I am running Ubuntu Lamp server 6.0.6 LTS
and i followign the directions step by step.

As you can tell from the image below, I get an error

error: 'Host 'server1.(MYDOMAIN).com' is not allowed to connect to this MySQL server'

I am assuming for the directions, not meaning sound noobish but we DO replace the mysqlpassword with your own in the command line. Correct?

I have registered my domain and have it pointed it my static ip. I use a router which i have my server exposed through the dmz. I can access ssh anywhere. as well as the default apache page...

any help will be much appreciatted!
BTW Falko your howto is amazingly thorough!

Reply With Quote
Sponsored Links
Old 20th March 2007, 05:20
mwburris mwburris is offline
Junior Member
Join Date: Mar 2007
Posts: 4
Thanks: 0
Thanked 0 Times in 0 Posts
Default in case this helps

in case this helps...

OUTPUT: netstat -tap

tcp 0 0 *:mysql *:* LISTEN -
tcp 0 0 *:* LISTEN -
tcp 0 0 localhost.locald:domain *:* LISTEN -
tcp 0 0 localhost.localdoma:953 *:* LISTEN -
tcp6 0 0 *:www *:* LISTEN -
tcp6 0 0 *:ssh *:* LISTEN -
tcp6 0 0 ip6-localhost:953 *:* LISTEN -
tcp6 0 576 ::ffff: server1.<mydomain>:62587 ESTABLISHED-

ps aux | grep mysql

root 4240 0.0 0.2 3696 1468 ? S 14:23 0:00 /bin/sh /usr/bin/mysqld_safe
mysql 4301 0.0 3.3 126444 17056 ? Sl 14:23 0:00 /usr/sbin/mysqld --basedir=/usr --datadir=/var/lib/mysql --user=mysql --pid-file=/var/run/mysqld/mysqld.pid --skip-locking --port=3306 --socket=/var/run/mysqld/mysqld.sock
root 4302 0.0 0.1 2656 732 ? S 14:23 0:00 logger -p daemon.err -t mysqld_safe -i -t mysqld
admin 4589 0.0 0.1 2880 796 pts/0 R+ 23:22 0:00 grep mysql

Last edited by mwburris; 20th March 2007 at 05:24.
Reply With Quote
Old 20th March 2007, 05:28
mwburris mwburris is offline
Junior Member
Join Date: Mar 2007
Posts: 4
Thanks: 0
Thanked 0 Times in 0 Posts


I found out the answer!

falko :
Originally Posted by oakleeman
I've been trying to follow the Centos setup guide and am having the mysql password problem.

Almost all of the ISPConfig tutorials have the following commands which numerous people have problems with:

mysqladmin -u root password yourrootsqlpassword
mysqladmin -h server1.example.com -u root password yourrootsqlpassword
The first command should work without problems. If you have problems with the second one, it's because there is another hostname than server1.example.com in the mysql.users table. You can forget about this now and correct it later with phpMyAdmin. Restart MySQL afterwards.
Reply With Quote


Thread Tools
Display Modes

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off

Forum Jump

Similar Threads
Thread Thread Starter Forum Replies Last Post
postfix problems with smtp linkdeb Server Operation 13 15th March 2014 18:58
Statistic not working mzo Installation/Configuration 49 20th April 2011 13:19
MySql on Ubuntu 6.06 LTS Server Bubo Server Operation 7 5th January 2007 17:23
Can't set up root password on MySQL server for Ubuntu 6.06 simianstyle Installation/Configuration 15 19th June 2006 17:44
The Perfect Setup Suse 9.3 - Postfix problems new_bee05 HOWTO-Related Questions 20 25th November 2005 03:30

All times are GMT +2. The time now is 17:59.

Powered by vBulletin® Version 3.8.7
Copyright ©2000 - 2014, vBulletin Solutions, Inc.