Current time: 12-24-2024, 05:36 AM Hello There, Guest! (LoginRegister)


Post Reply 
error add user mysql
Author Message
theprincy Offline
Member
***

Posts: 311
Joined: Nov 2008
Reputation: 2
Post: #1
error add user mysql
when add user to database have this error

You have an error in your SQL syntax; check the manual that corresponds to your MySQL server version for the right syntax to use near ''`centroprotesi`' *.* TO 'centrous'@'localhost' IDENTIFIED BY '210269'' at line 1

user is add to table mysql ispc ( sql_user) but not assign database and in mysql user.

You have an error in your SQL syntax; check the manual that corresponds to your MySQL server version for the right syntax to use near ''`centroprotesi`' *.* TO 'centrous'@'localhost' IDENTIFIED BY '210269'' at line 1
File: /var/www/ispcp/gui/client/sql_user_add.php (Line: 321) Function: exec_query
File: /var/www/ispcp/gui/client/sql_user_add.php (Line: 393) Function: add_sql_user
(This post was last modified: 08-07-2009 02:51 AM by theprincy.)
08-07-2009 02:47 AM
Visit this user's website Find all posts by this user Quote this message in a reply
joximu Offline
helper
*****
Moderators

Posts: 7,024
Joined: Jan 2007
Reputation: 92
Post: #2
RE: error add user mysql
Hi

which version of ispcp do you use?

If you took a nightly then use a newer nightly - the bug is fixed. If you use the official 1.0.0 then maybe a patch may fix the problem: maybe use the latest version of the file:
http://www.isp-control.net/ispcp/browser...er_add.php

/J
08-07-2009 03:42 AM
Visit this user's website Find all posts by this user Quote this message in a reply
theprincy Offline
Member
***

Posts: 311
Joined: Nov 2008
Reputation: 2
Post: #3
RE: error add user mysql
is a nightly trunk-20090806.tar.bz2 mmm i have installed today ... mmm
(This post was last modified: 08-07-2009 04:27 AM by theprincy.)
08-07-2009 04:25 AM
Visit this user's website Find all posts by this user Quote this message in a reply
joximu Offline
helper
*****
Moderators

Posts: 7,024
Joined: Jan 2007
Reputation: 92
Post: #4
RE: error add user mysql
hm... but on line 321 in the actual version there is no exec_query... this is rev. 1879 (or before). Just use the new version of this file.

/J
08-07-2009 06:54 AM
Visit this user's website Find all posts by this user Quote this message in a reply
Post Reply 


Forum Jump:


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