SOURCES: php-pecl-session_mysql.sql - tested permissions
glen
glen at pld-linux.org
Thu Feb 8 20:39:01 CET 2007
Author: glen Date: Thu Feb 8 19:39:01 2007 GMT
Module: SOURCES Tag: HEAD
---- Log message:
- tested permissions
---- Files affected:
SOURCES:
php-pecl-session_mysql.sql (1.2 -> 1.3)
---- Diffs:
================================================================
Index: SOURCES/php-pecl-session_mysql.sql
diff -u SOURCES/php-pecl-session_mysql.sql:1.2 SOURCES/php-pecl-session_mysql.sql:1.3
--- SOURCES/php-pecl-session_mysql.sql:1.2 Thu Feb 8 16:06:28 2007
+++ SOURCES/php-pecl-session_mysql.sql Thu Feb 8 20:38:55 2007
@@ -1,12 +1,14 @@
/*
-create database phpsession;
--- note it probably needs less privileges:
-grant all privileges on phpsession.* to phpsession identified by "phpsession";
-use phpsession;
+CREATE DATABASE phpsession;
+
+GRANT SELECT,UPDATE,INSERT,DELETE
+ ON phpsession.* TO 'phpsession'@'localhost' IDENTIFIED BY 'phpsession';
+
+USE PHPSESSION;
*/
-create table phpsession (
+CREATE TABLE phpsession (
sess_key char(64) not null,
sess_mtime int(10) unsigned not null,
sess_host char(64) not null,
================================================================
---- CVS-web:
http://cvs.pld-linux.org/SOURCES/php-pecl-session_mysql.sql?r1=1.2&r2=1.3&f=u
More information about the pld-cvs-commit
mailing list