Previous Thread
Next Thread
Print Thread
Rate Thread
Joined: Nov 2003
Posts: 2
Lurker
Lurker
Offline
Joined: Nov 2003
Posts: 2
I am on a new install of os x server panther, my server, mysql, php are all working. I am confused on how to change the mysql server to a IP address also I think the socket needs to be added or changed. This is all new to me and I have read too much info that I know this should be far easier than I am making it. Any help with my setup, getting me going would be a great start.
Thanks Helper
running: xserve with OS X 10.3(panther server)

Sponsored Links
Joined: Apr 2001
Posts: 3,266
Member
Member
Offline
Joined: Apr 2001
Posts: 3,266
why do you want to change it to an IP?

Basically their is no problem doing it but you will need to GRANT PERMISSIONS for the user and password combo you are using for the IP just like the localhost.

Joined: Nov 2003
Posts: 2
Lurker
Lurker
Offline
Joined: Nov 2003
Posts: 2
The problem I have is mysql is only connecting via localhost and not my server address. This info I read on apples dev. site read:

Configuring and Compiling MySQL
I plan to install mysql in /usr/local/mysql. I also plan to locate the mysql UNIX socket under the /usr/local/mysql/ directory as /usr/local/mysql/run/mysql_socket so that it will be publicly available, but associated with the MySQL installation. Note that in a standard installation, the socket file would be placed in /tmp.

It seems I only have the socket in /tmp so it would'nt connect via my www.domain.com.

I am trying to install a shopping cart named supracart on my server but it will not let me make the connection. I can connect to mysql via localhost but not my domain name. I have all permission set full on for everything and every user and every Db. This program does not let you use localhost for the db server. I installed this cart on one of my outside hosted accounts with no problems. So my set up of mysql on my server is not config correct to allow outside use of the server. Again this is a new setup for me and most info I have read is all about setup of mysl for develoment and not production.
Thanks for your time.

Joined: Apr 2001
Posts: 3,266
Member
Member
Offline
Joined: Apr 2001
Posts: 3,266
Well if you use the ip that would allow use. However as I stated you need to allow use of the user and password via IP to the database.

See there are four types of priviledges

user % Yes ALL PRIVILEGES Yes Edit
user xx.xx.xxx.xx Yes ALL PRIVILEGES Yes Edit
usr localhost Yes ALL PRIVILEGES Yes Edit
usr somedomain.com Yes ALL PRIVILEGES Yes Edit

If you have PHPMyAdmin you should see what priviledges are on the database.


Link Copied to Clipboard
Donate Today!
Donate via PayPal

Donate to UBBDev today to help aid in Operational, Server and Script Maintenance, and Development costs.

Please also see our parent organization VNC Web Services if you're in the need of a new UBB.threads Install or Upgrade, Site/Server Migrations, or Security and Coding Services.
Recommended Hosts
We have personally worked with and recommend the following Web Hosts:
Stable Host
bluehost
InterServer
Visit us on Facebook
Member Spotlight
Nettomo
Nettomo
Germany, Bremen
Posts: 417
Joined: November 2001
Forum Statistics
Forums63
Topics37,575
Posts293,932
Members13,824
Most Online6,139
Sep 21st, 2024
Today's Statistics
Currently Online
Topics Created
Posts Made
Users Online
Birthdays
Top Posters
AllenAyres 21,079
JoshPet 10,369
LK 7,394
Lord Dexter 6,708
Gizmo 5,835
Greg Hard 4,625
Top Posters(30 Days)
Gizmo 1
Top Likes Received
isaac 82
Gizmo 20
Brett 7
WebGuy 2
Top Likes Received (30 Days)
None yet
The UBB.Developers Network (UBB.Dev/Threads.Dev) is ©2000-2025 VNC Web Services

 
Powered by UBB.threads™ PHP Forum Software 8.0.1
(Snapshot build 20240918)