![]() |
problems mysql
I have problems with mysql
Is it possible to copy all files in: /var/lib/mysql/web20_db1 to a new server /var/lib/mysql/web2_db1 without problems The problem now is that no users can connect to the database etc.. I did an upgrade of mysql and that did not work with 42go now I downgraded but all is mixed up.. greetings Raymond |
Quote:
Quote:
|
yes copying works super..
The old server will be einstalled. I think mysql users got deleted etc.. thanks RayIT |
Different problem
MySQL is not working properly in ISPConfig for me!
I cannot enable any databases for a site or client! So, if I go to ISP Manager --> <a site> --> Basis I cannot even see the option MySQL option. When I create a new site, I can see that option, but when I create the site I get: Error: You cannot assign MySQL databases to this website. Next >> Why is that? Am I missing something or why would it not work? Does installing PHPMyAdmin like described elsewhere in the forum solve the problem? Also, the SSH login does not work from within ISPConfig. Is that because I'm running my sshd on a different port? Can I still run sshd on a different port, because of security? Also, here I have the same. When I create a new site I can see the option but not when I edit a site. Error: You cannot assign shell access to this website. Next >> |
Are you creating this web site under a reseller? Then make sure the reseller has the correct settings regarding databases, etc.
|
Yeah apparently that was the problem. Thank you. So obvious but I just didn't think of it.
Shell access still doesn't work for that user though, although I checked the SSL option in the site as well as the user. I had a look at /etc/passwd and at the end of the line it says for the user: Code:
... |
OK, I tried something else:
1. Added user webx_test 2. checked the Shell Access (as I did before for the other user but that one existed before I added shell access for him) Shell access for webx_test works! The Shell access check box is active in the user webx_xxx but it doesn't work and also /etc/passwd doesn't indicate it should. Is it maybe a subtle bug? |
OK, this is weird. I unchecked the check box for that user, saved, and checked it again, saved, and it works.
Still it might be a very subtle bug in the code, maybe you should check this. But then it isn't that big a problem. So, to repeat what I did: 1. Create reseller without MySQL and Shell access 2. Create Client under this reseller 3. Create website under this client 4. Create user under this site (without MySQL and without Shell) 5. Modify reseller to have MySQL dbs and Shell access 6. Modify site to have shell and mysql 7. Modify user to have mysql and shell, but shell and actually mysql as well didn't work Yeah, now that I go through it, how do I access mysql with a user that has shell access (or otherwise)? It doesn't seem to work with Code:
webx_xxx@www#mysqlCode:
webx_xxx@www#mysql -p? Also, if I enter mysql with my root user I cannot see any entry in the mysql.user table for webx_xxx or anything. How does this part work, because I didn't see any option in ISPConfig about enabling mysql access for users or similar? |
Quote:
|
Hm, OK. Thanks, but the user does not appear in mysql when I log in as root. Also, I cannot log in with the database user (webx_u1), using:
Code:
#mysql -uwebx_u1 -pThanks for you instant replies anyway. |
| All times are GMT +2. The time now is 00:05. |
Powered by vBulletin® Version 3.8.7
Copyright ©2000 - 2013, vBulletin Solutions, Inc.