antiblock
https://i.imgur.com/aJ17bf7.gif
  • Chatbox

    You don't have permission to chat.
    Load More
  • 0
Sign in to follow this  
@Metin2

Conta segundaria na mysql

Question

Ola pessoal eu quero criar uma conta segundaria no mysql(navicate) só para ligar o site alguém sabe um tuto ou pode me dar uma força aqui ?

Share this post


Link to post
Share on other sites

3 answers to this question

  • 0

Assim deve dar 

 

service mysql-server stop

depois 

mysql -p

Depois fazes isto

 

GRANT ALL PRIVILEGES ON *.* TO 'metin2'@'%'
IDENTIFIED BY 'password' WITH GRANT OPTION;

Depois fazes quit

service mysql-server start

onde está 'metin2' é o user e onde está 'password' é a password

Share this post


Link to post
Share on other sites
antiblock
Elveron
  • 0

mais isso não vai substituir oque já esta ?

Share this post


Link to post
Share on other sites
  • 0

Depende se ja tiveres uma conta criada ja com o nome de metin2.  Podes mudar o nome da conta para o que quiseres e depois onde diz 'password' metes a password que quiseres. 

Share this post


Link to post
Share on other sites

Create an account or sign in to comment

You need to be a member in order to leave a comment

Create an account

Sign up for a new account in our community. It's easy!

Register a new account

Sign in

Already have an account? Sign in here.

Sign In Now
Sign in to follow this