Hi all
I just added experimental MS Excel export. It uses PEAR class
Spreadsheet_Excel_Writer. Enabling of this feature is described in docs.
I'd like to get some feedback from you about this.
--
Regards
Michal Čihař
http://cihar.com
Hi,
did someone play with mysqli_options()? Seems to me that we could
use it with MYSQLI_OPT_COMPRESS to achieve compression in the protocol,
even with the mysqli extension.
Marc
Hi,
I am trying to use mysqli with the default socket:
$cfg['Servers'][$i]['socket'] = '';
and I cannot make it work. I am currently using MySQL 4.1.1.
The last parameter $server_socket in
$link = @mysqli_connect($cfg['Server']['host'], $user, $password, FALSE,
$server_port, $server_socket);
can contain the real socket as asked in the config, or FALSE.
If FALSE or '', the connection to the default socket does not work.
However, it works if no parameter is passed:
$link = @mysqli_connect($cfg['Server']['host'], $user, $password, FALSE,
$server_port);
So I suggest to make the presence of this last parameter conditional.
Maybe like this:
if ($server_socket) {
$link = @mysqli_connect($cfg['Server']['host'], $user, $password,
FALSE, $server_port, $server_socket);
} else {
$link = @mysqli_connect($cfg['Server']['host'], $user, $password,
FALSE, $server_port);
}
Marc
Hey,
I'm having some problems with the "Create Database" form being shown on
the front page, even if the user does not have permission to create a
new database.
I traced the problem down to line 246 in main.php (r: 2.8.2.1):
else if (ereg($re0 . '%|_', $show_grants_dbname) ||
!PMA_mysql_select_db($show_grants_dbname, $userlink) && @mysql_errno()
!= 1044) {
Where it is the ereg($re0 . '%|_', $show_grants_dbname) parts that
returns true (1).
Now, I don't really know what this ereg() does, except for this part:
$re0 = '(^|(\\\\\\\\)+|[^\])';
Which I am sorry to say I don't understand.
So, I'm willing to fix the problem on my own (and submit a patch), if I
could just get past this point. The problem is that my GRANT line looks
like this:
GRANT SELECT, INSERT, UPDATE, DELETE, CREATE, DROP, INDEX, ALTER, CREATE
TEMPORARY TABLES, LOCK TABLES ON `domain_net_db`.* TO 'domain_net'@'%'
Which makes $show_grants_dbname contain `domain_net_db` and makes the
ereg() return 1.
So in other words, what does the ereg do?
Thanks for any help
--
Tom Sommer
Dear phpMyAdmin users,
Due to an incompatibility change by MySQL, phpMyAdmin is
currently not working with MySQL 4.1.2 properly which has
been released recently.
If you are planning to upgrade to MySQL 4.1.2 or already did
so, we strongly recommend to use the current phpMyAdmin CVS
snapshot, available on our website or via anonymous CVS.
Daily snapshot packages are available here:
http://www.phpmyadmin.net/cvs/
Anonymous CVS access (Please download the HEAD branch of the
module "phpMyAdmin"):
https://sourceforge.net/cvs/?group_id=23067
Regards,
Alexander M. Turek
<rabus(a)users.sourceforge.net>
_ __ __ _ _ _
_ __ | |__ _ __ | \/ |_ _ / \ __| |_ __ ___ (_)_ __
| '_ \| '_ \| '_ \| |\/| | | | | / _ \ / _` | '_ ` _ \| | '_ \
| |_) | | | | |_) | | | | |_| |/ ___ \ (_| | | | | | | | | | |
| .__/|_| |_| .__/|_| |_|\__, /_/ \_\__,_|_| |_| |_|_|_| |_|
|_| |_| |___/
<http://www.phpmyadmin.net>