Forum Moderators: coopster
the programm reported "shell acces is not allowed", while the other programms just crashed or quit. Thanks for pointing me to this programm.
So i gues i will have to contact my host to repair the users. They've not responded to my last 4 emails yet, i should never have taking the dedicated server with this crappy host.
I also suspect that his host has some sort of provision for this situation, such as phpMyAdmin or something.
It's strange to me, though, if he doesn't have shell access that he would be able to do anything to the users (I assume we're talking 'user' in the 'mysql' table) except through some sort of control panel interface.
But since i deleted all users i can't log into phpmyadmin anymore because mysql cannot connect using the username and password because they are deleted.
ps. i deleted them because root had no password, anybody could login using root and no password so i thought let me fix that.. so now i am here...sorry
in the root i have these directory's:
[logs] - [users] - [web]- [web2]
I also have access to the "cobalt server administrator", is there somethink i can do from there?
I give up. Thanks to all for your suggestions. I'll go send the fifth email to the host and ask to allow me to the shell.
am i allowed to create this table in mysql myself?
I would say probably not on a shared host.
is there documentation on what fields-names i should use?
It should all be in here somewhere
MySQL User Account Management [mysql.com]
Ok, now i got shell access.
i still can't figure it out, help very MUCH appriciated.
i tried this to add a user:
root /root]# #!/bin/bash
bash:!/bin/bash: event not found
[root /root]# mysql --user=root mysql
ERROR 1045: Access denied for user: 'root@localhost' (Using password: NO)
[root /root]# grant all privileges on *.* to $1@localhost;
bash: grant: command not found
what am i dooing wrong? thank you.
however i cannot succeed in adding a user!
grant all privileges on *.* to root@localhost
> grant all privileges on *.* to root@'%' identified by 'ikbenhet' WITH GRANT OPTION
> GRANT RELOAD, PROCESS ON *.* to root@localhost
> GRANT USAGE ON *.* root@localhost;
> GRANT USAGE ON *.* test@localhost;
> flush privileges
Why can i not login in phpmyadmin using : user: root & password: ikbenhet?
Thanks a million.
<added> it is resolved by the host, thank you all for your help, i really appriciate it.</added>