Current time: 05-18-2024, 10:14 AM Hello There, Guest! (LoginRegister)


Post Reply 
 
Thread Rating:
  • 1 Votes - 5 Average
  • 1
  • 2
  • 3
  • 4
  • 5
[DEV] Модуль ispCP-nginx (koffu)
Author Message
webspy Offline
Junior Member
*

Posts: 62
Joined: Feb 2010
Reputation: 0
Post: #64
RE: [DEV] Модуль ispCP-nginx (koffu)
Всем доброго времени суток )) Столкнулся с проблемой выполнения импорта из бд панели в бд NGINXa (Debian 5.0.8)

В manual
------------------------------
После установки nginx создаём пользователя в MySQL базе.

mysql -u root -p ispcp (за место "root" имя реального пользователя, а в "ispcp" реальное имя базы, дальше запросит пароль и тд.. которые указаны на них)

USE ispcp (переходим в саму базу)
grant select on ispcp.domain to 'nginx'@'localhost' identified by 'ваш пароль';
grant select on ispcp.subdomain to 'nginx'@'localhost' identified by 'ваш пароль';
grant select on ispcp.domain_aliasses to 'nginx'@'localhost' identified by 'ваш пароль';
exit

(там где "ispcp.domain" и тд.. указываем за место "ispcp" реальное название базы, там где "nginx" указываем любое имя, ну а где пароль указываем на базу и пользователя "NGINXa")
------------------------------

но вот уменя тут банаЛьный ступор, все ведь правильно... дулал так и не раз.. а тут оно просто хэээмм... вообще не не видет и не читает - то что там есть!

Server:/usr/local/nginx# mysql -u pamparam -p pamparam
Enter password:
Reading table information for completion of table and column names
You can turn off this feature to get a quicker startup with -A

Welcome to the MySQL monitor. Commands end with ; or \g.
Your MySQL connection id is 3004
Server version: 5.0.51a-24+lenny5 (Debian)

Type 'help;' or '\h' for help. Type '\c' to clear the buffer.

mysql> USE pamparam
Database changed
mysql> grant select on pamparam.domain to 'nginx'@'localhost' identified by 'abcd';
Query OK, 0 rows affected (0.00 sec)

mysql> grant select on pamparam.subdomain to 'nginx'@'localhost' identified by 'abcd';
Query OK, 0 rows affected (0.00 sec)

mysql> grant select on pamparam.domain_aliasses to 'nginx'@'localhost' identified by 'abcd';
Query OK, 0 rows affected (0.00 sec)

mysql> exit
Bye
как быть? все остальное сделал.. а это я ???!?!?!? как-то так =(
(This post was last modified: 11-17-2011 04:06 AM by webspy.)
11-17-2011 04:05 AM
Visit this user's website Find all posts by this user Quote this message in a reply
Post Reply 


Messages In This Thread
RE: [DEV] Модуль ispCP-nginx (koffu) - webspy - 11-17-2011 04:05 AM

Forum Jump:


User(s) browsing this thread: 1 Guest(s)