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.





Warning: Mysql_query(): Can't Connect To Local MySQL Server Through Socket '/tmp/mysql.sock' (2)


I'm trying to connect to my MySQL database (sitehosted by GoDaddy) using PHP. I am having these errors and don't understand what they mean

Warning: mysql_query(): Can't connect to local MySQL server through socket '/tmp/mysql.sock' (2) in /home/content/n/l/a/nladmin/html/v5.0_3/c_register.php on line 6
Warning: mysql_query(): A link to the server could not be established in /home/content/n/l/a/nladmin/html/v5.0_3/c_register.php on line 6

Notice: Query: SELECT * FROM types MySQL error: Can't connect to local MySQL server through socket '/tmp/mysql.sock' (2) in /home/content/n/l/a/nladmin/html/v5.0_3/c_register.php on line 6
here4
Warning: mysql_close(): no MySQL-Link resource supplied in /home/content/n/l/a/nladmin/html/v5.0_3/c_register.php on line 13

I've checked paths and connection settings and don't see any problems. My guess is now that the problem is coming from the opening and closing of the DB. my script, c_register.php uses a require_once('../mysql_connect.php') to open the connection to the database. But I also have a function definition in c_register.php that uses require_once('../mysql_connect.php') when called because it needs a connection to the DB. Here's a visual that might help:




View Complete Forum Thread with Replies

Related Forum Messages:
ERROR 2002 (HY000): Can't Connect To Local MySQL Server Through Socket '/tmp/mysql.sock' (2)
i install mysql 5.1 on my enterprise server and it was working very well.but one day i tried to login and i had this error :

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

The file mysql.sock doesn,t exist in the directory /tmp. but when i type in command line mysqld_safe everything work properly until i logout from my server.

View Replies !
ERROR 2002 (HY000): Can't Connect To Local MySQL Server Through Socket '/var/lib/mysql/mysql.sock' (13)
I have a problem connecting to sql and can't find anything on the net to solve the problem.

I have some sql databases running on a server. when I'm root on the server and I want to login to sql I do "mysql -ustudent -p -Dwordnet30 and it works fine. when I'm logged in with the user account on the server, i get this error message:

ERROR 2002 (HY000): Can't connect to local MySQL server through socket '/var/lib/mysql/mysql.sock' (13)

so with the same user name in mysql, i can log on when i'm root, but not when i'm the user. the grant table for the user looks like this: Code:

View Replies !
Can't Connect To Local MySQL Server Through Socket '/tmp/mysql.sock'
I've installed MySQL-4.0.14 under RedHat 8, using both rpm's and compiling
from source. When I try to run MySQL, I get the following error: Can't
connect to local MySQL server through socket '/tmp/mysql.sock'

After much searching on Google, and reading many newsgroup threads on this
error, as well as reading the manual, I'm still stumped. Most of the
advice I've found suggests that the path to mysql.sock is wrong, which
makes sense, but I don't have the file mysql.sock anywhere on my machine,
so obviously I can't correct the path.

View Replies !
Mac OS 10.3 -- Can't Connect To Local MySQL Server Through Socket '/tmp/mysql.sock'
I just downloaded & installed MYSQL. It seemed to work and I can start
it and enter my password and change a directory but that is about all.
I have been ready and playing "hit & miss" all afternoon and it seems
to have something to do with the "mysql_install_db" not being
installed correctly -- I have tried multiple installs with multiple
downloaws.

My log. . .

View Replies !
Can't Connect To Local MySQL Server Through Socket '/tmp/mysql.sock' (2)
I am using a Mac running Mac OS X 10.4.8 and I have successfully installed MySQL on it but when I go to run it using the command

sudo ./bin/mysqld_safe &

all it does is display a random dumber and when I try the command

./bin/mysqlshow -u root -p

I get an error message saying

Can't connect to local MySQL server through socket '/tmp/mysql.sock' (2)

View Replies !
Fix :: Can't Connect To Local MySQL Server Through Socket '/tmp/mysql.sock' (2)
I have this error whe I'm trying to connect MySQL from PHP. But I can connect with Query Browser or some other software.

Why I get this error? How can I fix this?

View Replies !
Can't Connect To Local MySQL Server Through Socket '/tmp/mysql.sock' (46)
Can't connect to local MySQL server through socket '/tmp/mysql.sock' (46)

I get this error when I try to communicate with a table I made using a text file ...

View Replies !
Can't Connect To Local MySQL Server Through Socket '/home/data/mysql/mysql.sock' (13)
I just installed mysql on linux. If I open a terminal, su to root,
then type "mysql", I am able to connect to the server and run my
queries.

If I exit out of su so that I am my own id (baisley) and type "mysql",
I get this error: Can't connect to local MySQL server through socket
'/home/data/mysql/mysql.sock' (13)

Any idea why? mysql.sock has full permissions (read/write/execute), so
it should be accessable by user baisley. If I am baisley and I run
"mysql -u mysql" (as mysql is the user that the RPM set up), it will
connect.

What I would like to be able to do is run this without having to be
user mysql all the time. How do I go about setting that up, or is it
better to run all my queries/make tables as 1 user?

View Replies !
Can't Connect To Local MySQL Server Through Socket '/var/lib/mysql/mysql.sock' (11)
We run Bitrix CMS and upon installing the web statistics module, it will sometimes show this error:

Error! mysql_connect('-', '-', '-')
Can't connect to local MySQL server through socket '/var/lib/mysql/mysql.sock' (11)

The max connections has been raised to a 1000... and SHOW GLOBAL STATUS says for the maxed used connections:

Max_used_connections 273

The server does not really max out...

View Replies !
Can't Connect To Local MySQL Server Through Socket
I am running ubuntu 8.10 with mysql server 5.0.67ubuntu6.

When I try to login locally I get the following error:

glen@glen-laptop:~$ mysql -u root -p
Enter password:
ERROR 2002 (HY000): Can't connect to local MySQL server through socket '/var/run/mysqld/mysqld.sock' (2)
glen@glen-laptop:~$

It looks like the mysql daemon is not running. When I try to run it I get the following error:

glen@glen-laptop:~$ sudo /etc/init.d/mysql restart
[sudo] password for glen:
* Stopping MySQL database server mysqld [ OK ]
* Starting MySQL database server mysqld [fail]
glen@glen-laptop:~$

I use to have this working fine. But I have somehow managed to break it. I have tried purging mysql and re installing it but I still get the error?

View Replies !
Phpmyadmin :: Cant Connect To Local Mysql Server Through Socket
i have recently installed & config'd mysql all seems to be fine with command line, however i have installed phpmyadmin and keep getting complaints about

'cant connect to local mysql server through socket /..blah/..blah'

i have checked the php.ini file and everything seems to be in order i have been using webmin with no complaints, but would prefer to use phpmyadmin.

View Replies !
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 !
ERROR 2002: Can't Connect To Local MySQL Server Through Socket
i get this when i do '/etc/rc.d/rc.mysql start'

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

ive had a look on google, and the problem for most people seems to be permissions, but im running as root, and the socket doesn't exist. It doesn't create the socket when it runs, because i tried putting mysql in the root user group.

i do have a script that clears the /tmp on login, but i dont think that would affect it,

View Replies !
Error 2002: Cant Connect To Local MySQL Server Through Socket
Well that's the error I'm getting when trying to connect to my MySQL database, more specifically:

Error 2002: Can't connect to local MySQL server through socket '/var/lib/mysql/mysql.sock' (2)

I know the PHP is fine because it's a straight copy and paste from a site I wrote before that's working fine (on the same host as well no less), anyway I did a bit of Googling and all the results that came up said that it's a configuration issue and can be resolved in several ways (mysql daemon, the my.cnf file etc etc) only problem is I'm on a shared hosting service so I don't have access to this.

Does anyone know of any other potential cause to this problem other than configuration issues or is it just a call up the host deal?

View Replies !
ERROR 2002: Can't Connect To Local MySQL Server Through Socket (Debian)
I'm running debian 3.1 unstable. MySQL was working fine for a long time. Then I started getting this error:

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

I tried uninstalling, and reinstalling. Still getting the same error.

View Replies !
MySQL-error : Can't Connect To Local Mysql Server Through Socket
On a freshly installed Fedora C3 (incl. webserver apache php mysql) i get
the following problem when connecting to mysql through a browser
(phpMyAdmin)::

#2002 Can't connect to local MySQL server through socket
/var/lib/mysql/mysql.sock

On the website of MySQL this error is mentioned but I found no solution.

In /var/log/messages the following log occurs :
localhost kernel: audit(....): avc: denied {write}for pid=2458
exe=/usr/sbin/httpd name=mysql.sock dev=hda13 ...

What I have tried :

- mysql.sock is srwxrwxrwx, seems ok, but dont know what the s stands for
- the dir /var/lib/mysql was drwxr-xr-x and I changed it to drwxrwxrwx : no
effect
- tried different version of phpMyAdmin : same error
- installed my website and got the following error : No connection possible
with database (in the next version I will improve the error-messages)
- through commandline there is no problem in connecting to mysql (log in,
create databases, inserts, deletes, uploading dumps, making dumps, ....)

What is the solution or what else can I try ?

View Replies !
Can't Connect To MySQL Through Socket '/tmp/mysql.sock'
I installed mysql on both of my mac machines running 10.3.9 and 10.4.1. Everything was fine when I installed mysql. Then I shut down both mysql and my computers. When I tried to start up mysql again, it said:

"ERROR 2002 (HY000): Can't connect to local MySQL server through socket '/tmp/mysql.sock'"
when I tried:

mysql mysqld
and
mysql mysqld_safe &
and
mysql -u root
and it always said "ERROR 2002 (HY000): Can't connect to local MySQL server through socket '/tmp/mysql.sock' (2)"
I also tried
./bin/mysqld_safe --user=mysql &
and it said "Permision denied"

I know some of you have answered a billioin questions like this before, but I've searched all over the internet and none of the solutions seems to work.

View Replies !
Can't Connect To Local MySQL (mysqld.sock Doesn't Exit)
Warning: Can't connect to local MySQL server through socket '/var/run/mysqld/mysqld.sock' (111) in ...php

Warning: MySQL Connection Failed: Can't connect to local MySQL server through socket '/var/run/mysqld/mysqld.sock in ...php

the mysqld.sock file doesn't exist but my mysqld is started successfully. How can i resolve this error ?

View Replies !
Connect To Mysql Server Through Socket
I have installed suse 8.2 a short while ago and at my first attempt to connect mysql (via shell and a perl dbi script) i get following error:

can't connect to mysql server through socjet '/var/lib/mysql/mysql.sock'.

i know this looks like a common error and I am terribly sorry if this kind of subject has been posted before but I'll appreciate any urgent help.
ComputerBild 15-03 bestaetigt: Den besten Spam-Schutz gibt es bei
WEB.DE FreeMail - Deutschlands beste E-Mail - http://s.web.de/?mc=021121 .

View Replies !
Can't Connect To Mysql Server Through Socket..
I have installed suse 8.2 a short while ago and at my first attempt to connect mysql (via shell and a perl dbi script) i get following error:

can't connect to mysql server through socket '/var/lib/mysql/mysql.sock'.

View Replies !
Download Of Mysql.sock File Unable To Connect To Mysql Server
Where can i get the download mysql.sock file?

I am unable to connect to local server because i dont have this file?

View Replies !
Connect To Local MySQL Server
I am trying to connect to our
remote MySQL server (which is running just fine). I have a perl script
which
worked just fine on my other Fedora 4 box (all servers are Fedora 4
with
latests updates). The one that worked fine it down and I cannot
compare
anything against it (it was a client also).

My problem is, when I try to connect to the server I get:

DBI connect('passwd','user',...) failed: Can't connect to local MySQL
server through socket '/var/lib/mysql/mysql.sock' (2) at
/home/perl_inc/mysql.pl line 19

I read all the articles I could on the subject talking about how
mysql.sock was in
/tmp and linking it etc, but on my system I did:

find / -name 'mysql.sock'

and cannot find it anywhere on my system.

My question is, on the mysql client, is there always a mysql.sock file?

View Replies !
Can't Connect To Local MySQL Server... :(
My site is getting very busy and I keep getting this error every few times I visit my site. I just hit refresh and the site loads, but how can I avoid this error from coming up? Do I need a separate mysql server? Or apache has too high loads? What is causing this?

PHP

Warning:  mysql_connect() [function.mysql-connect]: Can't connect to local MySQL server through socket '/var/lib/mysql/mysql.sock' (11) in

View Replies !
Can't Connect To MySql Server On Local Host
When I installed MySql on the Windows 2000 Proffessional ,it works
fine.But I followed the same installation steps in Windows 2k Advanced
Server.It gives me this error "can't connect to MySql server on local
host".It says failed to start service . I couldn't find any mysqld.exe
file in the processes list of the Task manager window.

Please tell me
steps to get mysqld.exe file appear on the task manager. Kindly let me
know the way to get mysql running.I have the Operating System on E:
drive of my computer.

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 !
Couldn't Connect To /var/lib/mysql/mysql.sock: Connect: Permission Denied
I try to connect from a perl program to mysql and get:

>> Couldn't connect to /var/lib/mysql/mysql.sock: connect: Permission denied

1.) The /var/lib/mysql/mysql.sock file EXIST!
2.) The mysql server is UP, I can connect from the terminal using "mysql" command (which in fact uses this socket!).
3.) /var/lib/mysql/ and everything in it has user=mysql and group=mysql
4.) mysql.sock has 777 permission

So I am compleatly helpless why perl can not connect!!!
The perl program is OK, I have transfered it to an other server and there it works.
The error must be somewhere at mysql but I cant find it

View Replies !
Cannot Connect To My Local Server --standalone
I have a problem to connect to my local server:

After I have done:

c:mysqlin>mysqld --standalone

I try:

C:mysqlin>mysql
ERROR 2003: Can't connect to MySQL server on 'localhost' (10061)

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 !
Mysql Can't Connect Through Mysql.sock With The Right Dir
there's some topics related with socket connection problems, but it is not exactly my case: i'm using Mac os x 10.4.11 with apache 1.3.41 PHP 4.4.9 and MySql 5.1.31, When i was testing in a browser a database i moved mysql.sock to /var/mysql/mysql.sock from /tmp/mysql.sock, so when i used mysql command i moved from /var/ to /tmp/ . But suddenly mysql command doesnt work, it gives this connection error:

ERROR 2002 (HY000): Can't connect to local MySQL server through socket '/tmp/mysql.sock' (61)
But in reality mysql.sock is actually in /tmp/mysql.sock .

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 !
Recreat Mysql.sock File On Live Server
I have a production system, that is running away with no problems.
However every so often the command line 'mysql' seems to be unable to
connect to the main server running. It complains it can't find the
file.
Now here is the rub; the file is there; it has the correct
permissions. Now before any smart-a**e says to restart MySQL server,
i can't. Its a production site and therefore i don't wish to restart
it.
So the question is, how does one recreate this file on a live system?
And second question is why does it lose the file in the first place?

View Replies !
Reg MySQL Server Work As Local Network Or Remote Server
I installed mysql-5.0.51b-win32 version.How to configure in MySQL server work as local network or remote server.PostgreSQL we did configuration in pghba.conf host all all 0.0.0.0 0.0.0.0 md5.How we can do settings in MySQL 5.0 server.

View Replies !
Can't Connect To Local MySQL Afte Install
I have downloaded the source code for mysql-3.23.58. I unzip and untarred
it and ran

$ ./configure --prefix=/usr/local --localstatedir=/usr/local/mysql
$ make
$ make install
$ ./scripts/mysql_install_db

I have a user mysql, and group mysql.
I ran
$ chown -R root /usr/local/mysql
$ chgrp -R mysql /usr/local/mysql

I try to run
$ ./scripts/safe_mysqld --user=mysql &

and get...
Can't connect to local MySQL server through socket '/tmp/mysql.sock'

/tmp/mysql.sock exists.

Is there anyting major I have overlooked? I have installed from source before but never really had too many problems.

View Replies !
Connect Remote JSP Files With Local MySQL Database?
I use dreamweaver 8.0.
I have my jsp files on the remote server Z:.
I have my local computer 'A' connected to this server.
I have my MySQL database on my 'A' computer.
I want to know how to connect the remote JSP files with the database?
Currently I am using jdbc.odbc drivers on 'A' computer.
But my server computer has Linux and uses org.gjt.mm.mysql drivers.
Which drivers and Where should be the drivers?

View Replies !
I Want To Make Transfer Data Between MySQL Server To MySQL Local .
I want to make transfer data between MySQL Server to MySQL Local .

My Environment.

Server < --- > My PC Client

Server =
::::: MySQL DB Server ( for Linux )
::::: Apache ..
::::: Linux

PC Client =
::::: Window
::::: MySQL run localhost ( for window )

How i transfer data from mysql server to mysql local .?
Caz i don't want to connect via 3306 port ..
Can i use others way?

View Replies !
Local MySQL Server
I keep getting this error everytime i try to use Mysql on my FreeBSD 5.4. I cant locate '/tmp/mysql.sock' nor my.cnf.

View Replies !
Lost Connection To MySQL Server During Query Socket Error On Read. WSAGetLastError Return 10054($2746)
We just migrated our MySQL database from a NetWare server running version 5.0.21 to a openSUSE box running version 5.0.45.

Everything ran fine for a couple of days, then clients began losing their connections and creating new ones without the old threads being terminated. This behavior is the same for the Delphi client we use to access our database as well as the MySQL Administrator tool.

I've tried adjusting connection_timeout, but overall the settings for this server are the same as the previous one that ran without issues for a year.

View Replies !
Choosing A Version Of MySQL For Local Web Server
In the process of setting up a localhost web server to test things before I put them on my shared host server. Mostly I'm just dabbling - not making a living at it.

My server is Apache 2.2.3 with PHP 5.2.0 on WinXP-Pro. What version of MySQL is most compatible with these versions of server software? Can someone point me to an installation how-to doc? Would also appreciate pointers to pages I should read to familiarize myself with MySQL. I've dabbled with dbs's as standalone apps but never used one on a server before.

View Replies !
Error "cannot Connect Server On Local Host".
i cannot connect to MySql database at my server.F.Y.I i install MySQL 5.0 in my server 2003.when i try to connect from other pc its show error "cannot connect server on local host".how can i solve it.

View Replies !
How To Configure MySQL ODBC Driver To Connect To A Mysql Server On My Own Side Of The Router?
Using MS Access, I have attached to MySQL servers in other states
and other countries on the other side of my router. But when I use the
MySQL ODBC driver 3.51 to connect to a MySQL server on my own LAN,
the driver tells me it cannot make the connection. Here are the ODBC
driver connection parms:

Data Source Name: (free field - name my "my linux box" will do nicely)
Host/Server Name (or IP) - something like MSQLUserName@ServerName.net
has worked fine for me in the past. Now I'm trying 192.168.1.106
Database Name - whatever, mysqldb works fine, any valid db

User - root
Password - myrootpass

Port - 3306 has worked fine 4 me N the past. Dunno whether 2 use now
SQL Command On Connect - haven't ever put anything here

Perhaps there is some configuration in mysql user privilege for the
mysqluser "root" that would prevent him from logging from a remote PC
to the mysql server?

View Replies !
Copy/move Mysql Data From Local Machine To Remote Server Database
I have an website that is host on web server and here have a database that have only one table name is "user" Table fields are:
name
Id no
email
phone

And I am using same site in my local machine. I always use my local machine for data entry and everyday end of the day I want to transfer data by clicking one button from my local machine database table to my remote server website database table.

How can I transfer data from my local machine database table to my remote server website database table.

View Replies !
Can't Connect To MySQL Server
I want to install it on Windows XP on the moment but want to switch to Linux later. I am a total rookie in Linux also, but want to learn.

I use 'Typical' installatioin and it installs allright. I open a commandprompt and start the file 'mysqld' . The commandprompt returns. The book says to check if the 'deamon' works with <mysql -u root> Doing that gives the message:

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

I also tried from http://www.mysql.org/downloads the file mysql-4.0.17-win.zip . This also installs fine, but starting <mysqld> does not return with the commandprompt. The book told my to first install MySQL and check it, after that Apache and PHP.

View Replies !
Cannot Connect To Mysql Server
I am running mysql server with "tcp/ip" port disabled and I cannot connect to it from the same machine from java code.

I can connect to it from cmd line (see screenshot). But when I try "jdbc:mysql://./mysql" in java I get unknown host error.

Caused by: java.net.UnknownHostException: . at java.net.Inet4AddressImpl.lookupAllHostAddr(Native Method) at java.net.InetAddress$1.lookupAllHostAddr(Unknown Source) at java.net.InetAddress.getAddressFromNameService(Unknown Source) at java.net.InetAddress.getAllByName0(Unknown Source) at java.net.InetAddress.getAllByName(Unknown Source) at java.net.InetAddress.getAllByName(Unknown Source) at com.mysql.jdbc.StandardSocketFactory.connect(StandardSocketFactory.java:243) at com.mysql.jdbc.MysqlIO.<init>(MysqlIO.java:284) ... 13 more

View Replies !
Connect To The Mysql Server
I have intalled MySQL on one of my computer and try to access it using another machine inside the same LAN. Some info about the setup:

* The MySQL server's IP is 192.168.0.3 while the client machine is 192.168.0.6
* Both machine running WinXP Pro
* On the client machine, I am using PHPED's embedded MySQL support to try to access the database on the server.But it keeping telling me that I can not connect the server, and I have tried the following which didn't work:

* Add host address 192.168.0.6 to the privilage list
* Turn the windows SP2 firewall off on both machines

View Replies !
Connect To A MySQL Server
I have a MySql server in the web. i also have the access data (user name , password, etc.)

I tried to cennect to this server via MySQL Control Center but this doesn't work.

I just want to run a SQL script that creates a new database structure. With a local MySql installation I just type something like:
mysql < insert_script.sql
in the command promt.
How do I do this with a MySql Server in the web?

View Replies !
Connect To My MySQL Server
I just can't connect to the MySQL server installed in my pC from remote hosts.
I can over my LAN. I have create a user with '%' for the host.
also, I have added a host with '%'
What I'm doing is to connect from a webhost that support PHP but doesn't include MySQL databases. so, from the host i'm running a PHP script for connection.
the result is this:

Warning: mysql_pconnect(): Access denied for user: 'roberto@10.8.8.4' (Using password: YES)

What can I do to allow any server ?
I have a router, but the port 3306 is forwarded to the MySQL PC, so that not a problem.

View Replies !

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