Fw: [Postfix espanol] postfix + Mysql

Wcom christian_conejero en ciudad.com.ar
Mar Mayo 7 22:21:20 CEST 2002


Alberto me hace lo mismo el error me pasa aca en el mysql, mire los archivos
y estan puesto como me pasaste en el mail, tenes idea cual puede ser el
error, primero quiero hacer que funcione con un dominio y despues veo el
tema de local o virtual.

Saludos

ns1:~# mysql -h localhost -u root -p
Enter password:
Welcome to the MySQL monitor.  Commands end with ; or \g.
Your MySQL connection id is 18 to server version: 3.23.47-log

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

mysql> use mysql;
Reading table information for completion of table and column names
You can turn off this feature to get a quicker startup with -A

Database changed
mysql> insert into user set Host='ns1', User='postfix', Password='postfix';
Query OK, 1 row affected (0.01 sec)

mysql> create database mail;
Query OK, 1 row affected (0.01 sec)

mysql> show databases;
+----------+
| Database |
+----------+
| mail     |
| mysql    |
| postaci  |
| test     |
+----------+
4 rows in set (0.00 sec)

mysql> use mail;
Database changed
mysql> create table passwd(
    -> id char(128)DEFAULT '' NOT NULL,
    -> clear char(128)DEFAULT '' NOT NULL,
    -> name char(128)DEFAULT '' NOT NULL,
    -> uid int(10) unsigned NOT NULL,
    -> gid int(10) unsigned NOT NULL,
    -> home char(255)DEFAULT '' NOT NULL,
    -> maildir char(255)DEFAULT '' NOT NULL,
    -> KEY id (id(128))
    -> );
Query OK, 0 rows affected (0.01 sec)
mysql> grant all on mail.passwd postfix en ns1 identified by "postfix";
ERROR 1064: You have an error in your SQL syntax near 'postfix en ns1
identified by "postfix"' at line 1



-
Para quitarte de la lista enviar la linea "unsubscribe postfix-espanol" en
el cuerpo de un mensaje a majordomo en WL0.org



Más información sobre la lista de distribución Postfix-es