How do I allow access of my mysql server to !localhost?

I just did an nmap of an arch box running mysql, but port 3306 isn't open. mysql is certainly running and local processes have no problem accessing it.
There are no entries in rc.allow or rc.deny, and I'm not running iptables.

/etc/my.conf
# Don't listen on a TCP/IP port at all. This can be a security enhancement,
# if all processes that need to connect to mysqld run on the same host.
# All interaction with mysqld must be made via Unix sockets or named pipes.
# Note that using this option without enabling named pipes on Windows
# (via the "enable-named-pipe" option) will render mysqld useless!
skip-networking

Similar Messages

  • How do I allow access to non admin network users to disk volume?

    I would like to allow access to a specific volume (disk) on one of our networked macs (Mac1) to all users. I've set user accounts on Mac 1 for all network users. These users are "regular" users, not admin. They can access this disk (and all others on Mac1) if I log in as Admin set Users to Admin. If I do this, then users have access to ALL data on all disks. If I do not, leaving them as "regular" users, when they log in they only see public folders. How can I allow access to the one disk volume without making network users admin? I tried changing various settings for the volume in Finder Info (everone else=read/write; ignore permissions) with no luck.
    Thanks
    iMac, ibooks, G5, Tibook   Mac OS X (10.4.4)  

    Your observations are correct - by default, an "admin" user connecting over AFP can choose from available "volumes" (default) or "shares", whereas a non-admin user can only mount "shares".
    By default, the only "shares" on an OS X client machine are the users' "Public" folders, and unlike pre-OS X Macs, it isn't easy to configure your own share points. Apple's official statement is that users wanting this functionality should buy OS X Server.
    However, it is possible to create an arbitrary share point using 3rd party software called "SharePoints" (donationware). I have never used it, but it seems to be well regarded. Alternatively, you can do it manually following the instructions in this hint & comments (especially apw8's):
    http://www.macosxhints.com/article.php?story=20011108161839416
    Once the external drive (or folder on the external drive) is configured as a share point, it should be possible for non-admin users to select and mount it once they connect over AFP.

  • I am trying to do a check deposit on my bank app and I had previously disallowed access to the camera.  How do I allow access now?

    I am trying to do a check deposit on my bank app and had previously disallowed camera access.
    How do I now allow access?

    There are two places where camera access can be changed:
    Settings - Privacy - Camera - <your app>
    Settings - <your app> - Camera

  • How to restrict user access in Oracle Application Server 10g (9.0.4)?

    Can anybody please let me know how to restrict user access in 10g AS? To be specific, how to allow http requests from specific IPs only?

    Hi,
    You have to edit httpd.conf and modify acces rights for each protected directory
    e.g.
    <Directory /var/www/sub/payroll/>
    Order allow,deny
    Allow from 192.168.1.0/24
    </Directory>
    then you have to restart Oracle HTTP Server
    jm--

  • Access a remote mysql server

    Hi,
    Is it possible to access a mysql server which is in a remote computer other than the computer where the java programming is running. Plz tell me how to do that.
    Thanks a lot,
    Chamal.

    Yes - use the MySQL type IV JDBC driver to make a connection to any database, including remote ones. It's free to download. Do a Google search on MySQL JDBC.
    MOD

  • How do you allow access to Page Properties for a page via Permissions.

    I've been trying to figure out how to setup permissions for a user or group to allow them to have access to the Page Properties dialog and view it's contents.
    So far the user/group in question has read/modify/create/delete access to the entire /content/<site_name>.  These people can right click on a page in Websites and select the Page Properties option but some of the page properties, custom ones, are empty, or showing but their respective content (housed under /content/<site_name>/<page_name> is missing/empty.

    The location of the folder is important. If it is inside a subfolder of your Home folder, then nobody else will be able to see it no matter what sharing options you set.
    Put it in the /Users/Shared folder.
    As leroydouglas pointed to, go to the Sharing preferences and add that folder.
    You'll also need to give them a login to that Mac. You can create a "Sharing Only" user which is a login for file sharing users.
    In Users & Groups, Add a new User account and set it to Sharing Only.
    Give it a username and password for them all to use (which can be saved in their keychains).
    Go back to Sharing and Add that new Sharing Only user. Give them Read Only access. If they all have normal logins on that Mac, you can just add those user names and they will log in just as if they were sitting at the Mac.
    Marking of a folder as Shared will only share it with users that can log into that Mac and only if they have permission to see through all the intervening folders.
    EDIT: You could also set up Guest access and allow guests to access file sharing. You could then share the folder to everyone: read only.
    Also see here: http://support.apple.com/kb/PH14189
    You used to be able to create a Sharing Only user from that preference pane, but it appears they've modified that to allow you to create a Sharing only user from your Contacts list.

  • How to allow access from LAN to server on LAN using external FQDN? (Outlook web access issue)

    I may have phrased the topic not too clearly, but I have an external domain name of mail.company.com , I want my users INSIDE the company be able to also get to https://mail.company.com , currently they cannot (nothing loads, looks to me as if firewall simply drops it) and I'm drawing a blank on how to get this done. Externally this works fine so if you're outside the company you can load up OWA just fine since my NAT rule translates the external IP to internal IP, but something is blocking this from the inside.
    I have an ASA 5510.
    If you can just sent me on the right path with theory I'll figure it out on my own, I don't need exact steps, but I must be thinking of this wrong as I'm not getting anywhere.

    Hello Martin,
    Maybe what is happening is that the DNS entry is pointing to the public IP address of the server, so it could be that the internal users are forwarding the traffic to the public IP address of the server and the ASA will drop the packet since the hosts are going to try to contact the server from the inside when actually there is a NAT rule that translate the internal server on the outside with a public IP. The traffic will try to contact that server going to the outside interface, but the ASA will notice that the connection was initiated on the inside interface, so it will refuse the connection.
    There is a solution for this issue. You can create a static NAT rule that matches le that translate the internal host to the public IP address, in this case, instead of -inside,outside-, the rule is going to be -inside,inside-.
    For example:
    Let`s say that there is a static NAT that match the following statement for the inbound traffic coming on the outside:
    static (inside,outside) {public IP} {private IP}
    There should be one that says the same but with inside,inside:
    static (inside,inside) {public IP} {private IP}
    Please configure that rule and let me know the results.
    Thanks.
    --Armando Rojas

  • How do I allow access to internal website which cert name does not match site name?

    We have many internal sites which the certificate name does not match our site name. Is there a way to override the exception manually so we can access site?

    Change prefix from <b>https://</b> to <b>http://</b>

  • Error trying to access photos on mySql server.

    I have a hosting account on godaddy with a with a domain named charliegooddog.org.  I have a simple photo gallery that uses PHP to access photos using a MySQL database.  The app works fine on my machine.  I created a MySQL database with the same table as on my machine.  I uploaded my photo gallery to the  domain on godaddy and updated the file that's used to pass on the hostname, database, username, and password info.
    When I bring up the photo gallery  I get this error:
    [RPC Fault faultString="Security error accessing url" faultCode="Channel.Security.Error" faultDetail="Destination: DefaultHTTP"]
        at mx.rpc::AbstractInvoker/http://www.adobe.com/2006/flex/mx/internal::faultHandler()[C:\autobuild\3.2.0\frameworks\p rojects\rpc\src\mx\rpc\AbstractInvoker.as:220]
        at mx.rpc::Responder/fault()[C:\autobuild\3.2.0\frameworks\projects\rpc\src\mx\rpc\Responder .as:53]
        at mx.rpc::AsyncRequest/fault()[C:\autobuild\3.2.0\frameworks\projects\rpc\src\mx\rpc\AsyncR equest.as:103]
        at DirectHTTPMessageResponder/securityErrorHandler()[C:\autobuild\3.2.0\frameworks\projects\ rpc\src\mx\messaging\channels\DirectHTTPChannel.as:389]
        at flash.events::EventDispatcher/dispatchEventFunction()
        at flash.events::EventDispatcher/dispatchEvent()
        at flash.net::URLLoader/redirectEvent() 
    Any ideas?

    Hi,
    Flash player is surrounded with sand box security and will not allow untrusted/unknown domains in to tyour application.
    This is not an error or bad side of flex applications, its for your app security..
    Solution: You can either use a crossdomain.xml file in your application.
    In crossdomain.xml specify the following
    <allowdomain>your domain</allowdomain>
    OR
    you can also use the following syntax in your mxml code..
    security.allowdomain(http://photosdomain");
    thats it..

  • How do I remotely access my Snow Leopard server from my Mountain Lion MacBook Air

    Does anyone know of an idiot's guide to setting up a VPN to access my server? I'm running Snow Leopard server in the office and I'd like to be able to access the server, probably just from one computer (MacBook Air runnung Mountain Lion) from home.
    I'm not sure if it complicates things or not, but the office is in an area with poor broadband and so the internet connection is via satellite broadband. The set up is a satellite modem into a Gigabit router and the server is connected to the router via an unmanaged switch.
    As an aside, I'm considering changing this set up so that the modem plugs into a Time Capsule and the server will connect directly into the TC. The desktops will then run into the server via the unmanaged switch or wirelessly via TC - any thoughts on the best set up here? Are cables into a switch better/worse than using TC's wireless facility.
    Is this something that I, as a reasonably competent computer operator but definitely not an IT expert, could do, or should I get someone in to set it up for me?
    Thanks in advance
    Jim

    VPNs aren't particularly special or weird or secret or such.  They're "just" a network connection.  A sometimes very fussy network connection, but a network connection.
    My preference is to use a firewall that includes an embedded VPN server.  This for several reasons, as it avoids trying to forward the VPN through a device that's using NAT [1], and it means you can connect to multiple devices on the target LAN, and you can connect even if the OS X Server box is down.
    Other folks will forward the VPN through NAT, and use the VPN server that's available in various versions of OS X Server.
    Forwarding a VPN through NAT does work, but can also sometimes not work.  NAT can cause some types of VPNs to get tossed off when (for instance) there's a second VPN connection arriving.
    In various cases everything connects and works the first time, and in other cases it's trial-and-error.
    With a VPN-capable firewall (which is a step above your average residential firewall), usually configuring the firewall as a L2TP server or the Cisco protocol, if you want to use the standard OS X or iOS clients.  Or PPTP — which is easier to get working — but less secure.  Once the firewall and the VPN server is set up — and that's where most of the "fun" is — then the set-up in Network Preferences is (usually) pretty simple.
    There are thousands of OS X VPN set-up articles around, but the details all hinge on the particular VPN server, and whether you're going to try to push the VPN through (for instance) that Tome Capsule and its NAT.   Until you sort out your VPN target and/or VPN client, and what sort of attacks you're securing against...
    As for this case, satellite latency is large.  The latency involved is the time it takes to the command or the text from your local Mac to the satellite ~35,786 kilometers up and then ~35,786 kilometers back down, and then the response back again.  That's about a quarter second, each way, at the speed of light.  Transferring big files is fine (once the connection is open and the transfer gets rolling), but anything interactive — such as a typical use of a VPN — is going to have a noticable lag.
    Yes, it'll be easiest to get somebody to work through your requirements and expectations, and initially set this up for you.  Or you can use this as an opportunity to read about and learn more about IP routing and networking and VPNs, too.
    [1] VPNs seek to ensure that the network connection is secure, and from a known client IP source address to the IP address of the target VPN server.  NAT explicitly obscures the network connections, and often has multiple client hosts located behind one IP address.   Put another way, the VPN and NAT software implementations are working at cross-purposes.

  • How to download midlet in SDK from tomcat server on localhost

    how to download midlet OVER THE AIR in Java ME SDK 3 from tomcat server running on localhost
    THANKS!

    Hi,
    The most important thing is that you need to ensure that WebLogic is start the Java command with debugging options. This is in the JDev documentation in the topic "Starting a Java Process in Debug Mode".
    If you have JSP's and servlets you have other steps as well. I have included the generic steps for any application server. We have plans to post a 'How to remote debug JSP's deployed on Weblogic' in the near future. Keep posted.
    1. You need to replace WebLogic's JSP engine with OJSP and you need to
    setup debugging parameters for OJSP. This is not specifically in the JDev documentation, but you may be able to apply the information found in the topic "Remote Debugging in OC4J".
    Here are some tips:
    A. You'll probably need to specify the following jars in some WebLogic config file. The jar files are all located in <jdev_install>/lib/
    xmlparserv2.jar
    ojc.jar
    jdev-rt.jar
    ojsp.jar
    ojsputil.jar
    B. Add these jar files to the VM's classpath
    C. The OJSP class name is oracle.jsp.runtimev2.JspServlet. You will need to specify this class where you configure your JSP engine information.
    D. You need to pass the following debug parameters. Again this is set up in the app server configuration file(s):
    debu[i]Long postings are being truncated to ~1 kB at this time.

  • How can I allow possible registrants to fill our a form on facebook?

    Does anyone know how I can allow access to this form to anyone on Facebook or by email?

    Just open your form file, go to the Distribute tab, and select Copy URL. You can then paste this into your Facebook page or send via an email.
    Randy

  • My phone is disabled it shows connect it to itune when i connect phone to itune it shows this in my pc to allow access, please respond on your iphone but there is nothing in my phone

    my phone is disabled and it shows on the screen disabled and connect it to itunes store but i connect to itune store (to allow access, pease respond from your phone) but there is nothing in my phone, can you please kindly help me regards.
    thank you
    best regard

    Hi I really appreciate  your replay,
    but unfortunately it doesn't helpful to me as I previously applied this ,
    the main thing is if you can kindly help me through, I have erase my phone from find iPhone but it will erase once it connect to Internett,
    when ever I connect phone to iTunes I got one message on the screen of my laptop the message is (do you want to allow this computer to access information on ali phones)
    If you don't allow access, you will not be able to manage sync your phone with this computer.
    but sadly how I can allow because there is nothing coming on my phone screen. There is just iPhone disable connect to iTune just on the screen
    and there is slide for emergency instead slide to unlock,
    so this thing if you can help me through it will be very thankful,
    anyway I'm still appreciating your kind replay.
    just one thing please how can I allow access to my computer  or show me the I tune where doesn't ask this question
    thank you
    best regards

  • Connect form to mysql server

    can anyone tell me how to connect oracle forms to a mysql server database

    Hi,
    Can you please send me the method of connecting Forms 6i to MY SQL server.
    Also if you have a developed form connected to MYSQL,please send me that to
    [email protected]
    thanks in advance,
    Surya

  • Connection to db rejected.Cannot connect to MySQL server

    here is the excaption
    connectToDb:02 - connection to db rejected.Cannot connect to MySQL server on localhost:3306. Is there a MySQL server running on the machine/port you are trying to connect to? (java.net.BindException)
    and her is the class
    import java.io.*;
    import java.sql.*;
    import java.util.*;
    public class DBconnect
    {  final static private String _url        = "jdbc:mysql://localhost:3306/diamonds";     //final static private String _driver     = "sun.jdbc.odbc.JdbcOdbcDriver";
        //final static private String _url        = "jdbc:odbc:diamonds";     //final static private String _driver     = "sun.jdbc.odbc.JdbcOdbcDriver";
        public Connection     _con                     = null;
         //private static Driver          driver          = null;
         private static Properties     properties     = null;
         Statement stmt                                 = null;
         public PrintStream     out;
            **connectToDb **
            public void connectToDb()        throws IOException
            //connect to the server and open the database
             try{
                   Class.forName("org.gjt.mm.mysql.Driver");
                   //Class.forName("sun.jdbc.odbc.JdbcOdbcDriver");
                   //driver = (Driver)Class.forName (_driver).newInstance();
                   properties = new Properties();
                properties.put("user","sa");
                   properties.put("password","");
            catch (ClassNotFoundException e)
                   System.out.println("class not found:");
                   e.printStackTrace();
              catch (Exception e) {
                        e.printStackTrace();
                 throw new IOException("connectToDb:01- JDBC driver not found."+e.getMessage());
         synchronized void open()throws Exception
              try
                   if(_con == null)
                        try
                             _con = DriverManager.getConnection(_url,properties);
                             //_con = driver.connect(_url,properties);
                        catch (SQLException e)
                             e.printStackTrace();
                             System.out.println("connectToDb:02 - connection to db rejected."+e.getMessage());
                        stmt = _con.createStatement();
              catch (Exception e)
                   e.printStackTrace();
                   System.out.println("connectToDb:02 - connection to db rejected."+e.getMessage());
         synchronized void close()
              try
                   if(_con != null)
                        if(!_con.isClosed())
                             stmt.close();
                             _con.close();
                             _con = null;
              catch (Exception e)
                   System.out.println("es:fail to close connection!!");
    }the problem occars when there are a lot of queries that the project is sending to the DB (about 10000) the last half queries fails and send an excaption .
    after 2 minutes the system seems like working fine.
    I am stack with this problem about a year and cann't resolve it.
    any idea????
    regards
    amnon m

    well...new it seems to work fine, but is it ok to
    keep connection open for good ???
    isn't there any other alternative ???I am bit confused are you pooling the connections?
    If so, actually the connections will not always stay open.. they will time out after a while when they are not in use but to specifically answer your question.. how could it possible be a bad thing. If the server/your app was getting bogged down with opening and closing connections then pooling solves this..
    Finally as to your question of the alternatives... if the problem was opening and closing connections and reusing them through a pool solved this then I think the answer is no. If you don't like a specific part of the way the pool works it is probably configurable in some way and you could always implement your own pool.. although I wouldn't overly recommend that. The bottom line is that you need to keep your connections open for reuse.. pooling is the simplest way to achieve this.. but no there is no alternative to keeping your connections open if you are having the load problems you described.

Maybe you are looking for