Jump to content

Recommended Posts

Posted

Salut bai fratilor, am sho o problema cu un panel, treaba e ca vreau sa il pun pe webhost gratuit si nu merge.

Am configurat config.class cu datele de la baza de date unde tin cu hostul si tot problema iese.

 

SQLSTATE[28000] [1045] Access denied for user 'xxxx_samp'@'31.170.164.30' (using password: YES)

SQLSTATE[HY000] [2003] Can't connect to MySQL server on 'ip de la server hostat' (111 "Connection refused")

 

$db['mysql'] = array(
            'host'         =>    'ip de la host unde tin baza',
            'username'     =>     'username-ul meu de la host',
            'dbname'     =>     'numele bazei de date',
            'password'     =>     'parola'
        );

 

La ce am gresit?

Posted

Nu sunt setate permisiunile bine.Daca folosesti cpanel la hostul de la server urmeaza-mi pasii:

1.Intra la remote mysql

2.Sub Host(% wildcard is allowed) pune ip-ul de la webhost.

3.Dai pe 'Add host'  

 

Join the conversation

You can post now and register later. If you have an account, sign in now to post with your account.

Guest
Unfortunately, your content contains terms that we do not allow. Please edit your content to remove the highlighted words below.
Reply to this topic...

×   Pasted as rich text.   Paste as plain text instead

  Only 75 emoji are allowed.

×   Your link has been automatically embedded.   Display as a link instead

×   Your previous content has been restored.   Clear editor

×   You cannot paste images directly. Upload or insert images from URL.

×
×
  • Create New...

Important Information

By using this site, you agree to our Terms of Use. We have placed cookies on your device to help make this website better. You can adjust your cookie settings, otherwise we'll assume you're okay to continue.

moduri samp