A Paris
Le 14 Nv MMVII
Dear Madam and Sir,
Do you know how to access a MYSQL DB from an external server ?
We read the information and studied :
1) Sir//Aho : The mysql-server machine must have open ports for the
incomming connection
(default 3306). There must be a mysql-user who has the privileged to
connect from the
remote server.
2) http://www.cyberciti.biz/tips/linux-...g-request.html
iptables -A INPUT -i eth0 -p tcp -m tcp --dport 3306 -j ACCEPT
3) http://iptables-tutorial.frozentux.n...-tutorial.html
object : iptables
BUT
1) Open ports : We do not know where to exactly insert that, and the
consequences :
iptables -A INPUT -i eth0 -p tcp -m tcp --dport 3306 -j ACCEPT
2) There is an impact an security and we're very affraid about safety.
3) Changing HTPPD.CONF can lead to a non-access to the server (no SSH
if the implementation failed) with a guy manually reinstalling the
former version.
4) We have a dream of someone in the world having access to our
servers to enhance configuration.
Thanking you very much for your help,
Norm 4 2041
Hi,
You can restrict remote access to a specific IP like so:
-A INPUT -s 192.168.1.2/255.255.255.255 -p udp -m udp --dport 3306 -j
ACCEPT
-A INPUT -s 192.168.1.2/255.255.255.255 -p tcp -m tcp --dport 3306 -j
ACCEPT
Replace 192.168.1.2 with the allowed IP. On most redhat systems that
would go in /etc/sysconfig/iptables. To update the changes you would
do: service iptables restart
That's good enough security for many applications. For an added level
of security, you can establish a VPN between the hosts or use an
encrypted SSH tunnel as described here: http://chxo.com/be2/20040511_5667.html
HTH,
John Peters
On Nov 14, 10:33 am, Pseudonyme <norman_cougl.. .@2cuk.co.ukwro te:
A Paris
Le 14 Nv MMVII
Dear Madam and Sir,
Do you know how to access a MYSQL DB from an external server ?
We read the information and studied :
1) Sir//Aho : The mysql-server machine must have open ports for the
incomming connection
(default 3306). There must be a mysql-user who has the privileged to
connect from the
remote server.
2)http://www.cyberciti.biz/tips/linux-...ysql-server-in...
iptables -A INPUT -i eth0 -p tcp -m tcp --dport 3306 -j ACCEPT
3)http://iptables-tutorial.frozentux.n...-tutorial.html
object : iptables
BUT
1) Open ports : We do not know where to exactly insert that, and the
consequences :
iptables -A INPUT -i eth0 -p tcp -m tcp --dport 3306 -j ACCEPT
2) There is an impact an security and we're very affraid about safety.
3) Changing HTPPD.CONF can lead to a non-access to the server (no SSH
if the implementation failed) with a guy manually reinstalling the
former version.
4) We have a dream of someone in the world having access to our
servers to enhance configuration.
Thanking you very much for your help,
Norm
We could have the procedure done.
-A INPUT -s 192.168.1.2/255.255.255.255 -p udp -m udp --dport 3306 -j
ACCEPT
-A INPUT -s 192.168.1.2/255.255.255.255 -p tcp -m tcp --dport 3306 -j
ACCEPT. Thanks.
The speed of the http shown-pages is a key factor.
We are sure our configuration for our MYSQL server is not optimized.
We thought asking to these US Company might help :
.. Touchsupport.co m (lafayette town)
.. PlatinumServerM anagement.com
.. Serverwizards.c om
With objectives to :
a. optimize the configuration of the 2 servers (Unix/Apache/Linux/
MySQL/PHP)
b. advise us to get the fastest websites
c. advise us in the architecture of servers
d. upgrade PHP, MYSQL and other application installed to get the
latest versions
e. act during traffic peaks
f. advise us to always get a secured server
But answers are : please pay USD 150 from the following link and move
from ENSIM to cPanel prior to your subscription.
Do you know someone that could be able to optimize our configuration.
My Regards,
Norm
Pseudonyme wrote:
We could have the procedure done.
-A INPUT -s 192.168.1.2/255.255.255.255 -p udp -m udp --dport 3306 -j
ACCEPT
-A INPUT -s 192.168.1.2/255.255.255.255 -p tcp -m tcp --dport 3306 -j
ACCEPT. Thanks.
The speed of the http shown-pages is a key factor.
We are sure our configuration for our MYSQL server is not optimized.
We thought asking to these US Company might help :
. Touchsupport.co m (lafayette town)
. PlatinumServerM anagement.com
. Serverwizards.c om
With objectives to :
a. optimize the configuration of the 2 servers (Unix/Apache/Linux/
MySQL/PHP)
b. advise us to get the fastest websites
c. advise us in the architecture of servers
d. upgrade PHP, MYSQL and other application installed to get the
latest versions
e. act during traffic peaks
f. advise us to always get a secured server
But answers are : please pay USD 150 from the following link and move
from ENSIM to cPanel prior to your subscription.
Do you know someone that could be able to optimize our configuration.
My Regards,
Norm
There are a number of consulting companies who could help you.
Basically you need three skills - Unix Admin, MySQL Admin and PHP
programmer. It sounds like a lot, but it really isn't. The three
typically go together well.
Just check out references before buying. Some people, for instance,
play with MySQL but don't know how to tune it well for a heavy load.
Find someone who's successfully worked on systems similar to yours.
--
=============== ===
Remove the "x" from my email address
Jerry Stuckle
JDS Computer Training Corp. js*******@attgl obal.net
=============== ===
..... "Some people, for instance, play with MySQL but don't know how to
tune it well for a heavy load." ...
That might be right.
Problem is to give all access to Serverwizar for instance with the
background of a guy : http://216.239.59.104/search?q=cache...n&ct=clnk&cd=2
where they basically broke everything.
"Server Wizar : We Never Sleep. We Never Eat. We Do Magic.". >>
What's that ?
In the Admin we trust ... but in someone secured.
*****
MYSQL :
If I divide by 10 the weight of threads, multiple by 10 the weight of
cache, multiple by 10 the number of threads, multiplie by 10 the
number the simultaneous connections.
I multiplie by 10.000 the available data in theory.
Is there an option to apply that theory ? http://groups.google.com/group/comp....7aaead47c4b27b
My Regards
Bob This thread has been closed and replies have been disabled. Please start a new discussion. Similar topics |
by: Stefan Hinz |
last post by:
Degan,
jumping in to try and solve some problems that look pretty obvious to
me ...
> #options for default service (mysqld2)
> (mysqld2)
It should be , not (mysqld2).
|
by: Aaron Baugher |
last post by:
I have an OpenBSD 3.3 system running MySQL 3.23.55 from the ports
tree. Everything started out at the default settings. This system
holds a large vBulletin 2.2.9 forum database, and that's pretty much
the only application that uses any resources.
Everything works fine, except that when the forum administrators do an
IP search, the database locks up and won't respond to any more queries
until it gives up on that search or is restarted. ...
|
by: Oliver Klozoff |
last post by:
Hi,
I am having a hard time setting up an SQL Server 2000 Developer
Edition instance for remote clients. The instance is running well and
I can connect to it on the local computer. When I try connecting from
another computer using Enterprise Manager with the server's IP as the
instance name, I always get the usual "Specified SQL Server not found"
error. I have used Enterprise Manager many times to connect to local
and remote servers...
|
by: jiing |
last post by:
Now let me describe what I have done and my purpose:
Originally, 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
|
by: Cheryl Langdon |
last post by:
Hello everyone,
This is my first attempt at getting help in this manner. Please
forgive me if this is an inappropriate request.
I suddenly find myself in urgent need of instruction on how to
communicate with a MySQL database table on a web server, from inside
of my company's Access-VBA application. I know VBA pretty well but
have never before needed to do this HTTP/XML/MySQL type functions.
| |
by: Ike |
last post by:
Let's say I have a MySQL 4.12 database, opened to the internet on
111.111.111.111 allowing all incoming and outgoing ports. I have a username
and password setup, which CAN connect to this database, from
222.222.222.222.
Also on 222.222.222.222, which is running Tomcat, I have a Java servlet,
called, say, servlet.class in WEB-INF/classes. servlet.class has permissions
755, as does WEB-INF/classes.
Additionally, I have on...
|
by: xparrot1 |
last post by:
I know that I can get the SERVER port number like this:
HttpContext.Current.Request.ServerVariables
My question is how do I get the remote CLIENT port number?
Thanks
Derek
|
by: ynyus75 |
last post by:
Hey!
I am unable to connect some of the services that I host from my laptop at home, such as SMTP and MySQL on port numbers 25 and 3306 respectively.
But I am able to some services such as Telnet, Remote Desk Connection, SSH.
Here are my details
ISP: Time Warner
Connection Type: Cable
Router: Lynksys
Port Farwarding: enabled port farwarding to HTTP, Telnet, HTTPS, Remote Desktop Connection, SSH, MySQL etc to my laptop.
Connection Type...
|
by: Pseudonyme |
last post by:
Hi,
No multi-post because we read that it was not pleasant, and lead to a
waste of time.
****
Question : Do you know how to access a MYSQL DB from an external
server.
MYSQL
|
by: marktang |
last post by:
ONU (Optical Network Unit) is one of the key components for providing high-speed Internet services. Its primary function is to act as an endpoint device located at the user's premises. However, people are often confused as to whether an ONU can Work As a Router. In this blog post, we’ll explore What is ONU, What Is Router, ONU & Router’s main usage, and What is the difference between ONU and Router. Let’s take a closer look !
Part I. Meaning of...
|
by: Hystou |
last post by:
Most computers default to English, but sometimes we require a different language, especially when relocating. Forgot to request a specific language before your computer shipped? No problem! You can effortlessly switch the default language on Windows 10 without reinstalling. I'll walk you through it.
First, let's disable language synchronization. With a Microsoft account, language settings sync across devices. To prevent any complications,...
| |
by: Oralloy |
last post by:
Hello folks,
I am unable to find appropriate documentation on the type promotion of bit-fields when using the generalised comparison operator "<=>".
The problem is that using the GNU compilers, it seems that the internal comparison operator "<=>" tries to promote arguments from unsigned to signed.
This is as boiled down as I can make it.
Here is my compilation command:
g++-12 -std=c++20 -Wnarrowing bit_field.cpp
Here is the code in...
|
by: jinu1996 |
last post by:
In today's digital age, having a compelling online presence is paramount for businesses aiming to thrive in a competitive landscape. At the heart of this digital strategy lies an intricately woven tapestry of website design and digital marketing. It's not merely about having a website; it's about crafting an immersive digital experience that captivates audiences and drives business growth.
The Art of Business Website Design
Your website is...
|
by: tracyyun |
last post by:
Dear forum friends,
With the development of smart home technology, a variety of wireless communication protocols have appeared on the market, such as Zigbee, Z-Wave, Wi-Fi, Bluetooth, etc. Each protocol has its own unique characteristics and advantages, but as a user who is planning to build a smart home system, I am a bit confused by the choice of these technologies. I'm particularly interested in Zigbee because I've heard it does some...
|
by: isladogs |
last post by:
The next Access Europe User Group meeting will be on Wednesday 1 May 2024 starting at 18:00 UK time (6PM UTC+1) and finishing by 19:30 (7.30PM).
In this session, we are pleased to welcome a new presenter, Adolph Dupré who will be discussing some powerful techniques for using class modules.
He will explain when you may want to use classes instead of User Defined Types (UDT). For example, to manage the data in unbound forms.
Adolph will...
|
by: 6302768590 |
last post by:
Hai team
i want code for transfer the data from one system to another through IP address by using C# our system has to for every 5mins then we have to update the data what the data is updated we have to send another system
|
by: muto222 |
last post by:
How can i add a mobile payment intergratation into php mysql website.
| |
by: bsmnconsultancy |
last post by:
In today's digital era, a well-designed website is crucial for businesses looking to succeed. Whether you're a small business owner or a large corporation in Toronto, having a strong online presence can significantly impact your brand's success. BSMN Consultancy, a leader in Website Development in Toronto offers valuable insights into creating effective websites that not only look great but also perform exceptionally well. In this comprehensive...
| |