Avatar of AHMED SAMY
AHMED SAMY
Flag for Egypt asked on

can't connect to mysql database on godaddy server

can't connect to mysql database on godaddy server may be mistake in syntax or understanding environment please help ,and you should know that localhost on pc work good with (appserv 8.6.0) nearby
DatabasesPHPPCMySQL Server

Avatar of undefined
Last Comment
arnold

8/22/2022 - Mon
Tomas Helgi Johannsson

Hi!
Post the error you get when connecting.

Regards,
    Tomas Helgi
noci

You mean from a godaddy server to godaddy mysql or from your home server to godaddy?...
for the latter you may need to first create a tunnel to the godaddy system, of installer pphpmysql on your server.

The first case seems unlikely.
David Favor

As noci said, your original question seems to indicate you're running a local database instance.

If this is true, best move your database to GoDaddy first, if that's where your site will be running.
Experts Exchange is like having an extremely knowledgeable team sitting and waiting for your call. Couldn't do my job half as well as I do without it!
James Murphy
ASKER CERTIFIED SOLUTION
Dave Baldwin

THIS SOLUTION ONLY AVAILABLE TO MEMBERS.
View this solution by signing up for a free trial.
Members can start a 7-Day free trial and enjoy unlimited access to the platform.
See Pricing Options
Start Free Trial
GET A PERSONALIZED SOLUTION
Ask your own question & get feedback from real experts
Find out why thousands trust the EE community with their toughest problems.
arnold

Adding to Dave's comment or possibly through the admin portal, phpmyadmin interface.
AHMED SAMY

ASKER
peace be upon you and mercy

thanks

i think code was wrong i changed it it works but now i have two problems:

         1- language arabic not right i make it utf8_general_ci and still shows ??????????? why ?
         2- i need to make loop in loop to bring categories and sub categories.

thanks.
arnold

Not sure changing the character-set after the data was stored in such a case would auto-fix.
Check using substring to pull one character to see what value it has from the utc/ASCII table.
⚡ FREE TRIAL OFFER
Try out a week of full access for free.
Find out why thousands trust the EE community with their toughest problems.