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




Config Mysql To Acces It Via Internet


i want to know how to configure mysql to access it by internet. i am behind a router and redirect the 3306 port here is my my.ini: Code:




View Complete Forum Thread with Replies

See Related Forum Messages: Follow the Links Below to View Complete Thread
Bridge With Acces From MySQL
how to bridge a link between mySQL and Access. is this the best way to provide a graphical interface for a mySQL database that would be simple for the user to update.

Mysql Course In Internet
Do you know any good mysql course in internet you could recommend?

MySql And Norton Internet Security
I am having a problem starting mySQL while norton internet security is running. Any ideas? What port does mySQL use if any?

MySQL Partial Replication Over The Internet
We are looking to migrate from a Microsoft Access database to MySQL
for our CRM application.
However one of our requirements is the ability to synchronize partial
replicas - both from a laptop on a LAN and also from a remote location
e.g. a branch over an internet server.

Our current solution handles the situation fine but falls down when
attempting to do a partial replica synchronisation over an internet
server.

The application is a CRM system (Customer Relationship Management)
with one central server at head office and several subsets of the
database sitting on sales reps notebooks. Eg the HO server database
contains all the customer data but each sales rep only has their own
customers and related data on the laptop. It is critical, that we can
give a sales person on his laptop only his section of the customers -
not the entire CRM database. The reps would need to synchronise their
laptops on the LAN.

Granting Acces And Creating Database
here's a grant statement.

GRANT SELECT,INSERT,UPDATE,DELETE,CREATE,DROP ON $dbname.* TO '$host' IDENTIFIED BY '$passwrod'

I copied it from the mysql manual so it "should" be correct but when i run it i get this error:

Access denied for user: 'majdkgf_majdgfx@localhost' to database 'test4'

Now the problem is, if i create the database first, i need the user set, and if I put the grant before creating the database, i need the database.

MySQL Config
I have installed MySQL on Windows98se twice under different paths, and then
deleted the second installation. When i run MySQL as usual using the line
"C:Program Files
uspheremysqlinmysqld-opt.exe" , i get the following
error msg:

C:Program Files
uspheremysqlinmysqld-opt.exe: Fatal error: Can't find
messagefile 'C:Program Files
usphere2mysqlshareenglisherrmsg.sys'

notice that it runs from "nusphere" but tries to find the errmsg.sys file
under the other folder "nuspehere2" which i have deleted.

I tried looking for a config file so that i can force MySQL to look in the
proper "nusphere" path, but i could not find any. I have also tried to look
for an entry in the registry but came out with nothing aswell.

Have I missed something? Any ideas on how to solve this?

MySQL Config
What config modification would give me a good speed increase for a site that has a lot of online users on forums (so a lot of DB change)

Mysql Config
i have a mysql php script on www.rizzler.se/sizeofmysql.php that checks the size of my sql, as you can se on the link above nothing is shown on the page thou. BUT as i upload the EXACT same script to another server that has the same settings as mine. same mysql database name and password etc http://lunarplejs.brinkster.net/sizeofmysql.php

there it works but not on my server and i wonder why? my server say that mysql is running. i can connect to it with mysql query browser and so on, is this cause of my PHP.ini settings ?

Installation And Config Of MYSQL
Installed Mysql in Redhat 9.0 workstation. I have installed MYSQL,Appache,PHP.

PHP,Appache installation is fine and intergration is also working fine. I have installed and configured MYSQL

Problem : I cannot log into MYSQL database either from root or user.(local host)

The error is 2002: unable to connect to local host thru socket "varlibmysoc" but cannot locate the mysql.sock in /tmp And the service is sqldb is also not working and cannot locate in services.

MySQL Config Error
I have been tasked to create a CMS for a website, however first I must install it locally to my laptop.

I have chosen Joomla! as my CMS, and I understand that in order to run that I must first install Apache, MySQL, and PHP (in that order).

Apache installed fine, as did MySQL (the most recent version), however, it will not let me configure it or run the config tool at the end of the installation, citing the message:
"the side-by-side configuration is incorrect."

Does anybody have any idea why this keeps happening and what I can do to resolve it?

MySQL Config Not Running
i'm trying to set up MySQL with IIS 7.0 on Windows Vista Home Premium. After you install MySQL, there's a check box to launch the config app.

if i leave it checked, the app does not load. if i try to run the app by double-clicking its icon it gives me an error saying, "The application has failed to start because its side-by-side configuration is incorrect. Please see the application event log for more detail." I cannot find the application event log, though.

MySQL Config File
I see that there are several MySQL configuration files on my machine:
Quote:
/usr/share/mysql/my-large.cnf
/usr/share/mysql/my-huge.cnf
/usr/share/mysql/my-innodb-heavy-4G.cnf
/usr/share/mysql/my-medium.cnf
/usr/share/mysql/my-small.cnf

How do I know which one my install is using?

MySql Username / Password And Config
Firstly USERNAME AND PASSWORD? You define them where? Edit them where?

http://localhost will not work on my computer, how can I make MySql run from 127.0.0.1 ?

Config Mysql For Huge Data But Single User
I´m new to mysql and want to know how I set up the my.ini for best performance.
I´m running a PC with dual core and 3GB RAM, Windows XP, XAMPP
I want to configure mysql for best performance for a singele user acess.

I just want to do some sql-query on a huge database (25GB) - only one query at once.
At the moment my query nedds about two hours....

Security Across The Internet
I am somewhat new to accessing a MySQL database across the internet. I would like to write a thin client that accesses the database on a remote site; however, I must be assured that the queries and - especially - the data returned is secure. IOW, I need to make sure that no prying eyes can spy on the data being returned to the application. What are your thoughts on this?

Internet Phones
I have a question regarding internet phones. Lets say I have a list of a few hundred clients in a mySQL database w/ their phone lists, does anyone know if there is the technology to make telephone calls easier by automatically pulling from this database and making calls? If so, any links?

Allowing Access Over The Internet
I am writing a java program that connects to a database. This is fine when I connect from my local machine but I can't seem to get it done when connecting over the internet.
How do I allow a user to access my database over the internet.

MSDE And Internet Applications
clarify the position re MSDE and it's use a database for internet applications.
Is MSDE 2000 licenced to do this is it not allowed?

Downloading Data From Internet
I would like to send my PHP or MySQL out and get the stock data I need for
me. Can they do this?

Best Way To Move Data Between Internet And Local Server?
I want to be able to update my Internet server data with local data or
back up data to my local, what is the best way. Does just copying
mysql folders via ftp work?

Internet Port 3306 Open Safe
I have a server at an ISP - I've got port 3306 open in the firewall so
that I can work from remote however its got me thinking if its safe? I
know Microsoft got hit with slammer (or whatever) worm on their
unpatched machines that were exposed to the outside world, but I'm
trying to measure up the risks by having my db server exposed for a few
weeks.

PhpMyAdmin Config.inc.php
I must have a wrong setting in the config file because when i view a database i get the Notice "Notice: Undefined index:... i just can't find where the error is. Everything else works great though.

What Is A Config File ?
The following message shows me an error at my Config Wizzard "The template configuration file cannot be found message "C:Archivos de ProgramaMySQL Server 5.0MySQLinmy-template.cnf"

Any thoughts?

Server Instance Config
After installing MySQL 4.1.13a, Server Instance Config Wizard runs. At the end of the wizard it wants to execute, to finalize the configuration. Though once it gets to the point of executing the Service. It fails.

Problems Running With Instance Config Wizard
I can't seem to run the Instance Config Wizard for MySQL 5.0 on my computer. I am running windows Vista and each time I attempt to run the Wizard it responds with a dialog box:

"The application has failed to start because its side-by-side configuration is incorrect. Please see the application event log for more details."

How do I resolve this issue?

Warning: World-writeable Config File /etc/my.cnf Is Ignored
When i try to start my sql server under webmin linux i get following message and rhe databas wont start:

warning: World-writeable config file /etc/my.cnf is ignored.

Configure A 'config.inc.php' File (was "phpMyAdmin")
This is my first go at creating a PHP/MYSQL website so please could someone help me?

Basically i'm using phpMyAdmin to manage my MYSQL database on my webserver. However you have to configure a 'config.inc.php' file before you can use the system. Can anyone talk me through what settings I need to include in this config file to make it secure?

Mainly i'm worried about the differences between 'cookie', 'conifg' and 'http' modes. What do they mean (i've tried reading the FAQ's but they don't help much for newbee's!)? Which one should I use?

I hope someone can just give me some clear advice on what I need to do to get my database online and relatively secure.

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:

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?

ERROR [HY000][MySQL][MyODBC 5.00.11][MySQL] 2006 MySQL Server Has Gone Away
Hosting Package Environment:
ASP.NET ver 2
MySQL 5.0
FP Extensions 2003

Progression:
Developed Website Outline
Developed Database in Access2003
Migrated AccessDB to MySQL @ Hosting Service using Migration Tool.
Can connect using MySQL Admin tools and run queries fine and all data, relations etc. are there.

PROBLEM: (The heart of the matter)
Starting simple, created GridView Control using Microsoft Visual Web Developer 2005 Express, a few glitches here and there, used the MySQL Connector/ODBC v5.00.11 followed instructions. Can see database in Database Connections Window but when I try to connect the GridView Control to it I get:

"Database schema could not be retrieved for this connection. Please make sure the connection settings are correct and that the database is online.

ERROR [HY000][MySQL][MyODBC 5.00.11][MySQL] 2006 MySQL server has gone away"

Had thought that "Microsoft Visual Web Developer 2005 Express" might be messing with the ODBC driver so thought to download the .NET Connector. That's when it all went bad. The documentation does not say how to install or use the connector or where to put the files. It seems to assume that these bits of information are common knowledge and I suppose that if I had kept up with the technology it might be. But alas I didn't and it Isn't and It Don't work.

Warning: Mysql() [function.mysql]: Access Denied For User 'apache'@'localhost' (using
my script is not connecting to my database, i get this error

Warning: mysql() [function.mysql]: Access denied for user 'apache'@'localhost' (using password: NO)

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:

MySQL Error Number 2003 :: Can't Connnect To MySQL Server On 'hostname'(10065)
I was running an older version of the query browser a while back to connect to an older version of mySQL (3.0) running on a linux box. The server hasn't changed, but the query browser has been upgraded to 1.1.10. I can't go back to the older version of the query browser because the machine that ran it got re-formatted so I downloaded the new version and installed it.

So ... I get the following error when I try to connect:

MySQL Error Number 2003
Can't connnect to MySQL server on 'hostname'(10065)

Interestingly, I wrote a simple PHP script to connect to the server and pull some data off of it:

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?

MySQL Error 2013: Lost Connection To MySQL Server During Query
I'm running sugarcrm on mysql and the following query is returning "MySQL error 2013: Lost connection to MySQL server during query":

Table Rows Inserted By Embeddded MySQL Cannot Be Retrieved By MySQL Tcp Client
I have encountered a weird behavoir of embedded MySQL. Through a
simple program I made (in Delphi 6), I can insert rows to a table
through embedded MySQL and I can retrieve the rows from my program.

But using mysql.exe which points to the same table (through 127.0.0.1,
with the same basedir and datadir), I cannot see the rows I inserted
using my embedded program. Another way around, the rows inserted by
mysql.exe can be seen in my embedded program. But after a row is
inserted by mysql.exe, the rows inserted by the embedde program are
deleted (or cannot be queried).

Can anybody explain why is this? Is there a way to fix it?

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?

ERROR 2002 (HY000): Can't Connect To Local MySQL Server Through Socket '/tmp/mysql.sock' (2)
I want to user ports to install phpBB
But I found that phpBB doesn't support mysql 5.x (but the ports
installed mySQL 5.0.0 alpha)

so I deinstall mysql5-server and mysql5-client
And then I install mysql41-server and mysql41-client on FreeBSD 5.3 by
ports but now , mysql is not workable Code:

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?

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 ...

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?

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)

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. . .

MySQL Variables, Modifying Microsoft SQL Sequence Insert For Use In Mysql
I have the following microsoft SQL statement that inserts 25 new
records in sequence. However I am trying to modify this to work in
MySQL.

I cant seem to get the variable decleration right. I tried using
DECLARE CurVal int but that generates a mysql error. How can I modify
the code below to work under mysql? Code:

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.

Can't Connect To Local MySQL Server Through Socket '/tmp/mysql.sock' (2)
I just got mysql 5, from mysql 3 or 4 (can't remember it's been so long). I can't seem to get a connection. I searched and found http://dev.mysql.com/doc/refman/5.0/en/unix-post-installation.html#starting-server

Here is what it says to do, I don't know enough to be able to follow. Please advise:

If you have problems starting the server, here are some things to try:

* Check the error log to see why the server does not start.
ME: How? Where?
* Specify any special options needed by the storage engines you are using.
* Make sure that the server knows where to find the data directory.
ME: How?
* Make sure that the server can access the data directory. The ownership and permissions of the data directory and its contents must be set such that the server can read and modify them.

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 ?

No Mysql Pid File Found. Looked For /var/lib/mysql/localhost.localdomain.pid
The log of my system says:

"no mysql pid file found. looked for /var/lib/mysql/localhost.localdomain.pid"

how to deal with problem?

MySQL AB: MySQL - INSERT DELAYED, Wheres The Equivelent For UPDATE?
I'm having fun doing a large scale UPDATE on a database table. I found I can do an INSERT DELAYED to do bulk inserts without blocking the apache thread, but there doesn't seem to be an equivelent for updating.


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