Tracking Forums, Newsgroups, Maling Lists
Home Scripts Tutorials Tracker Forums
  Advanced Search
  HOME    TRACKER    MYSQL


SuperbHosting.net have generously sponsored dedicated servers to ensure a reliable and scalable dedicated hosting solution for BigResource.com.





Can Not Connect Ot Mysql On My Ubuntu Machine As Non Localhost


I have a strange error if I write this:

>mysql -h localhost -u myname -p

I get connected. However if I switch "localhost" into "192.168.0.189" which is the IP-number connection fails.




View Complete Forum Thread with Replies

Related Forum Messages:
Can't Connect To Local MySQL Server Through Socket On Ubuntu
ERROR 2002 (HY000): Can't connect to local MySQL server through socket '/var/run/mysqld/mysqld.sock' (2)

when i give mysql databasename it displaying the following error:

Can't connect to local MySQL server through socket '/var/run/mysqld/mysqld.sock' (2)

View Replies !
Connect To MySql From Another Machine
I have RHEL 4.0 installed on a x86 box, and am using the standard MySql server that comes with RHEL 4 (MySql version 4.1.12). I tried downloading the Administrator tool, but had problems installing it. (This issue has already been reported at http://forums.mysql.com/read.php?34,65093,65093#msg-65093).

I have an Administrator install on a Windows machine, and I want to use it to connect to the MySql server on the RHEL box, but get the error that says: Host '<my_machine>' is not allowed to connect to this MySql Server. Can I use the Windows Administrator tool to connect to a MySql server on Linux? (same network and sub-net)

During the RHEL install, the firewall option has been disabled, so that's not an issue. I think I need to add an entrry somewhere in the MySql db that allows other machines to connect, but am unsure of how to add it, and what the syntax looks like.

View Replies !
Connect To Mysql From Fedora To Windows Machine
I installed fedora core 4 which comes with the MySql 4.1.11 version. I have ems mysql manager in another windows machine. I want to be able to connect to the mysql database on the linux box from my windows machine thru mysqlmanager. When I rpovide the host name , user name and password I get an error message not able to connect. Is there anything additional I should do??

View Replies !
Can't Connect To MySQL Server On Local Machine
am following along in Head First's PHP & MySQL book, at chapter 2. I've downloaded PHP, MySQL, and Apache. A couple basic scripts have worked fine, so I know PHP is working. I can create a table and a database in MySQL throught the command line window, so that seems good. But I'm trying to execute an INSERT function on the example table that the book had me make, using a script, and I'm getting "Error connecting to the MySQL server" which is the or die error message I used for failure to connect.

In setting up MySQL, I was prompted for a password but not a username. So I'm trying to leave the username data blank in the mysqli_connect function. I wonder if this is my problem? I've looked through my.ini but to my untrained eye it's all Greek and I can't spot usernames or passwords there, or in any of the other .ini files in the MySQL folder. If I need a password, can anyone tell me how to find out what it is? Here's how I wrote the connect function (username is blank, surrounded by single quotes):

$dbc = mysqli_connect('localhost', '', 'password_here', 'databasename_here')
or die('Error connecting to MySQL database.');

View Replies !
Connect MySQL 3.51 Database Present On Windows From LinuX Machine
MySql database is present on windows O.S. Is it possible to connect this database from LINUX platform which is on same network ?

If it is yes, then how to configure from LINUX machine ?

View Replies !
Unable To Connect To Database Server. Can't Connect To MySQL Server On 'localhost' (10055)
I am running a PHP application with mySQL . Some times it gives the following error.
I do not understrand why this error occures .

today i am using the application but it is not giving the error but error occures yested day .

Unable to connect to Database Server. Can't connect to MySQL server on 'localhost' (10055).

View Replies !
Database From A Localhost (local Machine) To A Server
i've setup a web page using MySQL5.0, Apache and Php.. i've finish the webpage but im facing a probs in uploading the database to the server.. i dont even know where the database are stored in my local machine and how will i transfer to the server. My hosting have My SQL 4.1.22-standard and phpmyadmin but to SSH acces..

View Replies !
Cannot Connect To Localhost Error In Mysql
when I want to install it via source code then error is coming. i dont want to install it via exe.

View Replies !
Cannot Connect To MySQL Via Root@localhost
I installed Apache2.0 and PHP5.0.5 and then MySQL 4.1. I used the MySQL Instance Wizard setup, chose port 3306 and then at the end of the setup it always said @Cannot apply security, Connection Error, Access denied to root@localhost, Please check if there is anyway firewall or so...@

I don't have any firewalls and I have tried all the other port numbers but still the same message. And because of this error I cann't connect to the mySQL database.

View Replies !
Can't Connect To MySQL Server On 'localhost'
my webhost has mySQL and PHPmyadmin preinstalled on its server. A basic PHP code works on my remote website and also on my local browser. An other code, a search machine, which uses the database/mySQL from my webhost only runs on the remote website without problems but on my local browser it shows the following message:

Warning: mysql_connect() [function.mysql-connect]: Can't connect to MySQL server on 'localhost' (10062) in C:.....php on line 14

View Replies !
Installing Mysql :: Cannot Connect To Localhost Port...
I have tried to install mysql 4.0.14 and previous version on my machine. After installation when I try to run mysql, i get error:

"Cannot connect to localhost port..."

my machine is not connected to internet. I also have firewall installed on my machine. why I may be getting this error.

View Replies !
Can't Connect To MYSQL Server On Localhost <1006>
I am new to MYSQL and want to get it up and running I have it installed as a service. When I test the installation using the command C:mysql inmysqlshow I get the following ERROR Message:

can't connect to MYSQL Server on "localhost" <1006>

How do I fix this?

View Replies !
Can't Connect To MySQL Server On 'localhost' (10061)
Can't connect to MySQL server on 'localhost' (10061) Can you help me understand this error?

View Replies !
Can't Connect To MySQL Server On 'localhost' (10055)
I have setup my server with following

1. win 2000 server and IIS
2. mysql-4.0.21-win
3. myodbc-2.50.37-nt
4. dbtools 3.23.32

The program runs well for few days. I can insert, delete and edit data in database. couple of days later the system will have the following error. I have to reboot the server and the program works again!

----------------------------------------------------------
Microsoft OLE DB Provider for ODBC Drivers error '80004005'

[TCX][MyODBC]Can't connect to MySQL server on 'localhost' (10055)

web_file_name.asp, line XXX
----------------------------------------------------------

user rights, database and table's names are all match. MySQL service started. Just can't connect to database. even in the dbtools program.

View Replies !
'Can't Connect To MySQL Server On 'localhost' (10061)'
1) I have been shutting down the service of the server from the control panel before I start.

2.) Then in one terminal I change directories to point to the correct bin directory.

3.) I restart in that terminal from the bin directory in the 'mysqld-nt --skip-grant-tables' mode.

4.) Open new window.

5.) Change to bin directory.

6.) Then I type in 'mysqladmin -u root
flush-privileges password "newpwd"' -- replacing with my password.

7.) Hit return.

Now I have done all that and still recieve this error: 'Can't connect to MySQL server on 'localhost' (10061)'

*When I set up the server I did check to see if I would get the "Localhost" homepage and did, when I initially installed the software.

Can anyone step me through this process and get me beyond this error message. Bear in mind that I am a beginner and may need your assistance in defining terms and methods?

View Replies !
2003 - Can't Connect To MYSQL Server On Localhost (10061)
I have been setting up a sever on one of my PC's using Apache and have installed MYSQL to work off it.
Now i am getting error :

CONNECTION FAILES:
2003 - Can't connect to MYSQL server on Localhost (10061)

Now i have previously set this up and it has usually worked but i dont know what i have doen this time for it not to work?
Has anyone got any ideas what i can do?

View Replies !
Error 2003: Can't Connect To MySQL Server On 'localhost' (99)
The error I am getting it's look like
"Errorno = 2003
Error Message = Can't connect to MySQL server on 'server IP address'
(99)".

This error is coming most of the time.

1) the server is also running when I got this error.

2) I checked the config file, there is no parameter defined for the mysql port, it might be using the default port no 3306.

3) I have checked the server with telnet also, I can connect to the server with the default port no, it's showing connected.

View Replies !
Error: Can't Connect To MySQL Server On 'localhost' (10061)
I m trying to solve this but i coulnt do it..i get this error when i try to connect to mysql.

Warning: mysqli::mysqli() [function.mysqli-mysqli]: (HY000/2003): Can't connect to MySQL server on 'localhost' (10061) in c:Inetpubwwwroot est.php on line 20
Error: Can't connect to MySQL server on 'localhost' (10061).

But in the command line i can create database and tables.. i m using IIS6, php 5.1.3 and mysql4.1.20.

View Replies !
Unable To Connect To MySQL Server On Localhost (10061)
I'm trying to install invision pwr board for friends and family. I've got Apache2Triad on Windows, along with some other services like DC, Vent, Teamspeak (I'm a big gammer). I fill out the information to 'install' invision from the web address, click next and it says cannot connect to MySQL server on localhost (10061).

I've created the database but didn't add any tables or anything cuz I don't know what tables to create. Invision doesn't say which tables, just says type in the name of the database. Don't know if my password is wrong (using the one I created at install of apache) or if it's a port issue (installing on host machine) etc...

I've also tried to install a few other programs the same way; Bulletin Board, 3 different image hosting programs etc... all say the same thing, can't connect. All have there own databases with no tables (cuz programs doesn't say which tables to create). Code:

View Replies !
Host 'localhost' Is Not Allowed To Connect To This MySQL Server
My instance of mysql was having an issue with too many people connecting to it at once, so I ran the configuration utility. Now all of a sudden, I cannot connect from anywhere including localhost. I keep getting the message Host 'localhost' is not allowed to connect to this MySQL server no matter what method I try of connecting.

What I initially did was edit the user table and replaced the root/localhost with root/% and I'm guessing this was overwritten by the utility somehow. Can someone tell me if there's a way I can edit the user database?

View Replies !
Host 'localhost' Is Not Allowed To Connect To This MySQL Server ...
I reinstalled MySQL Server.

However, I can't connect to the server anymore.

I keep getting this error:
MySQL Error Number 1130
Host 'localhost' is not allowed to connect to this MySQL server.

View Replies !
Installing MySQL :: Connect To Server At 'localhost' Failed
I am just installing mySQL on my laptop. I am just setting the root password.

I have already set my password to twinsister:
C:mysql in>mysqladmin -u root passsword twinsister

This worked fine.

Now I am trying to set the hostname, and I have read in a thread on the net, that you should always set this to localhost, so I have typed this:

C:mysql in>mysqladmin -u root -h localhost password twinsister

However, this is the error message I get:

mysqladmin: connect to server at 'localhost' failed
error: 'Access denied for user: 'root@localhost' (Using password: NO)'

This is probably very simple to solve, but I just can't think what I am doing wrong.

View Replies !
Can't Connect To MySQL Server On 'localhost' (10061) On Windows 98
i'm a newbie here and i've just installed the apache,php,mysql package on windows 98

i started the relevant batch file and i'v sucessfully entered the phpdev5 home page however when i clicked on the phpmyadmin link it issued this message:

Warning: Can't connect to MySQL server on 'localhost' (10061)

is it because of the os i'm using or is there something in my system that is conflict with the installation?

appreciate if you could reply soon as the start of my work depends on this.

View Replies !
Can't Connect To MySQL Server On 'localhost' (10061) On Windows XP
I just set up a test environment on my local machine.

Windows xp pro sp 2
Apache 2
php 5.2.0
MySql 5.0.27

I can connect from the console and run queries just fine but from a php page I try to run.

$link = mysql_connect('localhost', 'root', 'my_password');

And it says Warning: mysql_connect() [function.mysql-connect]: Can't connect to MySQL server on 'localhost' (10061) in C:Apache2htdocsmysql.php on line 3

This doesn't seem to be a php problem because the phpinfo() shows mysql just fine and the mysql_connect is recognized as a function. The password is the same as the one I use when connecting from the console.

Any idea what I could have done wrong? Reading Yank's book I can't figure out what's wrong.

View Replies !
Can't Connect To MySQL Server On 'localhost' (10061) On Script Execution
Whenever I run this script:

<?php
$mysqli = mysqli_connect("localhost", "root", "rootnow");

if (mysqli_connect_errno()) {
printf("Connect failed: %s
", mysqli_connect_error());
exit();
} else {
printf("Host information: %s
", mysqli_get_host_info($mysqli));
mysqli_close($mysqli);
}
?>


I get this error message:
Connect failed: Can't connect to MySQL server on 'localhost' (10061)

I'm running Apache 2.0.58 with PHP 5.1.4 and MySQL 5.0.20 on Windows XP Home Edition.

View Replies !
ERROR 2003: Can't Connect To MySQL Server On 'localhost' &lt;10061&gt;
Everything was working just fine. I shut down my PC, brought it up the next day, and now I'm getting this.

I am using Windows-XP. I installed with something called Apache2Triad - it installs apache, php, and myql, at the same time.

View Replies !
ODBC Can't Connect To MySQL Server On 'localhost' (10013) (2003; S1000)
I have xampp running. WinMySqlAdmin is correctly showing my database "finofix".
Using dosbox i can open the database using "mysql -ufinofix -p<pwd>;" and "use test;"
So everything looks allright.

My application runs on 'localhost'.
ODBC sytem-DSN definition: name=finofix, server= ,username=finofix, pwd=XXX, database=finofix

When running my PHP application I get:

msql,version 32.1.739,Nov 15 2000
ODBC: available data sources:
ODBC: finofix - MySQL ODBC 3.51 Driver
ODBC: database connect string is 'finofix/finofix/<password>'
ODBC: connecting to database
ODBC Error: [MySQL][ODBC 3.51 Driver]Can't connect to MySQL server on 'localhost' (10013) (2003; S1000)

View Replies !
ERROR 2003 (HY000): Can't Connect To MySQL Server On 'localhost' (10061)
I've downloaded the following one

mysql-5.1.31-win32

after having unzipped the zip file I then locate to this folder

mysql-noinstall-5.1.31-win32mysql-5.1.31-win32in>

But after I've typed 'mysql' to go, I got this issue
ERROR 2003 (HY000): Can't connect to MySQL server on 'localhost' (10061)

View Replies !
Error 2003 (HY000): Can't Connect To MYSQL Server On 'localhost' (10061)
I can install MySQL 4.1.18 without problem. I also can connect and run the MySQL right after I install it. The problem is this, everytime I reboot my computer I can't run the MySQL anymore. MySQl service can no longer appear on the task manager's list. I type the following commands in the command window: Code:

View Replies !
Connect To Another Machine With SQL-Server
just installed a mysql server, database and user on one machine [1] (debian-linux)

Now I want to connect to the database from another machine [2]. Actually I am sure that I have to configure connectors or named pipes. But I can't find these topics in the manual.

When starting mySQL as user on the server everything is ok. When starting mySQL as user on the client computer [2] I get

ERROR 2002 (HY000): Can't connect to local MySQL server through socket '/var/run/mysqld/mysqld.sock' (2)

actually '/var/run/mysqld/mysqld.sock' is not existing. What do I have to put into that one? Or rather into /etc/mysql/my.cnf

View Replies !
Unable To Connect On Same Machine
I can connect using either command line or GUI tool when i have an active internet connection. However as soon as I unplug my machine i can no longer connect to mysql.

The Admin GUI tool throws up the error

MYSQL error Number 2003 cant connect to MYSQL Server on 'localhost' (10022)

whenever i try to connect without an active internet connection.The mysql server is on the same machine so no remote connection should be required.

View Replies !
Warning: Mysql_connect() [function.mysql-connect]: Access Denied For User 'debscrof'@'localhost' (using Password: NO)
Have MySQL on a VPS running CPanel
MySQL v4.1.22-standard

Can access MySql fine through CPanel, phpMyAdmin etc all work fine, creating databases, deleting databases, adding users etc

However, when I try to use MySql from a website, it fails

I created a user "test1" (which then got the username "debscrof_test1" from CPanel), a password for the user "test2", and then added the user to a new database "testdb" with all priviliges

Then a simple script to connect to the database (as I am trying to locate the source of the errors), as per below:

<?php
$dbhost = "localhost";
$dbuser = "debscrof_test1";
$dbpass = "test2";
$conn = mysql_connect($dbhost, $dbuser, $dbpass) or die ('Error connecting to mysql');
$dbname = 'debscrof_testdb';
mysql_select_db($dbname);
?>

Have tried with " and ' around the values, with 127.0.0.1 as the host... still with the same error message:

Warning: mysql_connect() [function.mysql-connect]: Access denied for user 'debscrof'@'localhost' (using password: NO) in /home/debscrof/public_html/testdb.php on line 6

Error connecting to mysql

...any suggestions why I cannot connect? (and why it says password: NO)!

View Replies !
Can't Connect From Localhost
I can connect from SQLYog,MySqlCC,jdbc from remote with no problem.
However, when I try to connect(mysql -u root) from localhost, then I
get access denied. Checked the user table and root can connect from
anywhere(%).

I am running 4.1.1 alpha on Red Hat with the --old-password option.

View Replies !
Can't Connect To Localhost
I've been using MySQL for 2 weeks and it's ok... till this morning, when I connected to my database and got an error like this "Can't connect to localhost (10061)". In Task Manager, I couldn't find the mysqld.exe process as usual, so I tried to run mysqld (--install, --console... etc. I'm just a MySQL newbie *_*) and mysqladmin... but it was useless. I'm helpless right now.

View Replies !
Can't Connect Localhost
Let's forget php first, only consider mysql.
After my several efforts, the system always gave me a sweet hug.
"can't connect to mysql server localhost(10061)"

But sometimes it does not show anything, like the following codes:

<?php
echo mysql_connect('localhost','root','my_password');
?>

no any error messages appears.just blank.

View Replies !
Php 5.1.6 With MySql 5.0 On Ubuntu 6.06
I am new to Ubuntu 6.06. I downloaded and installed apache 2.2.3 successfully on Ubuntu. I also downloaded Php 5.1.6. MySQL 5 is already loaded on my Ubuntu. When I tried to configure Php 5.1.6, I received the error:

configure: error: Cannot find MySQL header files under /usr/local/src/php-5.1.6/ext/mysql.
Note that the MySQL client library is not bundled anymore!
i don't know enough about linux to know what is wrong. Can anyone provide help?

View Replies !
Getting Error On Applying Security Error Nr. 2003 Can't Connect To MySQL Server On 'localhost' 1006 1
i have tried over and over and over and over and i even add a port on firewall, but i keep getting this error at the end part of the configuration of MySQL: The security settings could not be applied to the database because the connection has failed with the following error. Error Nr. 2003. Can't connect to MySQL server 'localhost' [10061]

if a personal firewall is running on your machine, pleas make sure you have opened the TCP port 3306 for connections. otherwise no client application can connect to the server. after you have opened the port please press [retry] to apply the security settings.

View Replies !
Cannot Connect On Localhost (10061)
i have version 4.0.13 for windows and i used the installer

once i was done, i followed the instructions in the manual exactly

i have no firewall running

i am on windows XP

i am running the client and server on the same computer

i ran winmysqladmin and it starts up fine

the 'mysqld-nt' service is in my processes tab of task manager

i go to dos prompt and type net start and mysql is there running fine

however, when in c:mysqlin
and i run 'mySQL' i get this error:
ERROR 2003: Can't connect to MySQL server on 'localhost' (10061)

i have tried devshed, mysql help, etc. and cannot figure out why mine
doesn't work...it seems most people just reboot and it voile! works... but
i've rebooted over and over and over, and nothing changes...same error...

when i use mySQL Control Center v0.9.2-beta i get the same error when i
click Action->Connect

all i can ask is "does anyone have any idea why this happens? or how to stop
it?"

i can telnet to port 3306, and get this readout (i have no idea how really
to use telnet...) Code:

View Replies !
Can't Connect From Localhost With 4.1.1 Alpha
I can connect from SQLYog,MySqlCC,jdbc from remote with no problem. However, when I try to connect(mysql -u root) from localhost, then I get access denied. Checked the user table and root can connect from anywhere(%).

View Replies !
Can't Connect Localhost <10061>
I've just started trying to setup MySQL, PHP and Apache for the first time.

When i open the Command Prompt and try to connect to MySQL it says:

'cannot connect to MYSQL server on 'localhost' <10061>'
any ideas where i have gone wrong or what i can do to fix this? I'm learning how to use it from 'Build your own database driven website using PHP and MySQL'. I'm trying to change the root password with:

mysql -u root mysql

But i keep getting this can't connect to 'localhost', '10061'. Could this be that i need to configure it differently when i install it or something

View Replies !
Unable To Connect To Localhost
After installing mysql 4.0 (using the MSI), I tried to type in :

C:wwwmysqlin>mysql -u root -p

I get the error message:

Enter password:
ERROR 2003: Can't connect to MySQL server on 'localhost' (10061)

View Replies !
Can't Connect From Localhost Without --host Option
I've got a weird problem when I was creating some new users. I gave it all privileges @'%'.

After I created that user, I can't connect using that username and password from that local machine. However, I can get in from another machine use the -h option. Then I tried this:
mysql -h 172.16.110.110 -u testuser -ppassword

and it works.

But if I do this:

mysql -u testuser -ppassword
I always get this error:
ERROR 1045 (28000): Access denied for user 'testuser'@'localhost' (using password: YES)

Has anybody got such problem before?

View Replies !
Mysqladmin: Connect To Server At 'localhost' Failed
I am getting the following error:

mysqladmin: connect to server at 'localhost' failed
> error: 'Access denied for user: 'root@localhost' (Using password: NO)'

View Replies !
Xampp Install :Cannot Connect To Sql On Localhost 10061?
Please bear with me as i am totally new to php & sql. I am not sure if i did something wrong when i installed xampp but i am having trouble getting mysql to work.

I have turned on sql in the xampp control panel.

I am trying to acess sql via the following,

Start Menu / Run / CMD
CD "C:Program Filesxamppmysqlin"
mysql

I get the following message
ERROR 2003 <HY000>: Cannot connect to sql on 'localhost' <10061>

The command prompt stays as
C:Program Filesxamppmysqlin>

Am i supposed to set a user name or password?

View Replies !
Odbc Problem While Hosting Mysql In Ubuntu
I am new comer in mysql, i have a code that is running well when i am using vb6 to accessing mysql database which is hosted in windows.
But the odbc facing problem ( table "ttt" does'nt exist ) when i am trying to host the mysql database in ubuntu.
I have trying to looking for the solution from google, but until the time of writing this thread, i got no solution.

View Replies !
How To Use A Copy Of A MYSQL 4.1 Database In MYSQL 5 Running On Ubuntu Linux
We had a "permanent world" game server running on an older PC, under Ubuntu 5.10, using a MYSQL 4.1 database to store persistent data for the players, then the hard disk quit. We did back up our data on a regular basis, but didn't use MYSQL to do the backups, we simply copied the MYSQL/data/ folder to disk.

So now we have a new hard disk, with Ubuntu 7.10 and MYSQL 5 installed. We have everything working, in that we have created the appropriate database and, using a simple test module of our game which will create some of the tables if they don't exist in the database, we can store and retrieve data from the database tables. The problem we have is how in the world do we get the data from the backup copy of the MYSQL 4.1 created database into the new MYSQL 5 database correctly? With 4.1 we could copy the contents of the database folder right into the database folder in the /var/lib/MYSQL/ folder, but this procedure didn't work with MYSQL 5. The files seemed to copy, as in the copy operation gave no errors, but we get an error that says the database is unavailable and to make sure the MYSQL server is running - it is, so we're stumped, and our game server is offline.

View Replies !

Copyright © 2005-08 www.BigResource.com, All rights reserved