Jump to content
The Uniform Server Community

Cant export mysql files!


web helper
 Share

Recommended Posts

A quick solution:

 

At the bottom of the export page

Check the box for “Save as file”

Un-Check the box “Save on server in”

This will force a pop-up allowing you to save the exported data to any location.

 

Truth is it’s a bug! The solution is to edit file:

UniServer\home\admin\www\phpMyAdmin\config.inc.php

 

At the bottom of this page change the last four lines as shown:

I have commented out the originals for reference:

//$cfg['UploadDir']   = '/etc/phpmyadmin';   // Directory for uploaded files 
//$cfg['SaveDir']	 = '/etc/phpmyadmin';   // Directory where phpMyAdmin can save exported data
//$cfg['docSQLDir']   = '';				  // Directory for docSQL imports,
//$cfg['TempDir']	 = '/tmp';			  // Directory where phpMyAdmin can save temporary files.

$cfg['UploadDir']	 = $drive.'/etc/phpmyadmin';   // Directory for uploaded files 
$cfg['SaveDir']	   = $drive.'/etc/phpmyadmin';   // Directory where phpMyAdmin can save exported data
$cfg['docSQLDir']	 = $drive.'/etc';			  // Directory for docSQL imports,
$cfg['TempDir']	   = $drive.'/tmp';			  // Directory where phpMyAdmin can save temporary files.

Re-start the servers.

 

All the best

Ric :)

Link to comment
Share on other sites

A quick solution:

 

At the bottom of the export page

Check the box for “Save as file”

Un-Check the box “Save on server in”

This will force a pop-up allowing you to save the exported data to any location.

 

Truth is it’s a bug! The solution is to edit file:

UniServer\home\admin\www\phpMyAdmin\config.inc.php

 

At the bottom of this page change the last four lines as shown:

I have commented out the originals for reference:

//$cfg['UploadDir']   = '/etc/phpmyadmin';   // Directory for uploaded files 
//$cfg['SaveDir']	 = '/etc/phpmyadmin';   // Directory where phpMyAdmin can save exported data
//$cfg['docSQLDir']   = '';				  // Directory for docSQL imports,
//$cfg['TempDir']	 = '/tmp';			  // Directory where phpMyAdmin can save temporary files.

$cfg['UploadDir']	 = $drive.'/etc/phpmyadmin';   // Directory for uploaded files 
$cfg['SaveDir']	   = $drive.'/etc/phpmyadmin';   // Directory where phpMyAdmin can save exported data
$cfg['docSQLDir']	 = $drive.'/etc';			  // Directory for docSQL imports,
$cfg['TempDir']	   = $drive.'/tmp';			  // Directory where phpMyAdmin can save temporary files.

Re-start the servers.

 

All the best

Ric :)

 

Thanks Mate, I will try it and post back here.

Link to comment
Share on other sites

  • 1 year later...
  • 5 months later...

A quick solution:

 

At the bottom of the export page

Check the box for “Save as file”

Un-Check the box “Save on server in”

This will force a pop-up allowing you to save the exported data to any location.

 

Truth is it’s a bug! The solution is to edit file:

UniServer\home\admin\www\phpMyAdmin\config.inc.php

 

At the bottom of this page change the last four lines as shown:

I have commented out the originals for reference:

//$cfg['UploadDir']   = '/etc/phpmyadmin';   // Directory for uploaded files 
//$cfg['SaveDir']	 = '/etc/phpmyadmin';   // Directory where phpMyAdmin can save exported data
//$cfg['docSQLDir']   = '';				  // Directory for docSQL imports,
//$cfg['TempDir']	 = '/tmp';			  // Directory where phpMyAdmin can save temporary files.

$cfg['UploadDir']	 = $drive.'/etc/phpmyadmin';   // Directory for uploaded files 
$cfg['SaveDir']	   = $drive.'/etc/phpmyadmin';   // Directory where phpMyAdmin can save exported data
$cfg['docSQLDir']	 = $drive.'/etc';			  // Directory for docSQL imports,
$cfg['TempDir']	   = $drive.'/tmp';			  // Directory where phpMyAdmin can save temporary files.

Re-start the servers.

 

All the best

Ric :(

 

 

sounds good to me. It really helped me out a lot. Thanks

Link to comment
Share on other sites

Join the conversation

You can post now and register later. If you have an account, sign in now to post with your account.

Guest
Reply to this topic...

×   Pasted as rich text.   Paste as plain text instead

  Only 75 emoji are allowed.

×   Your link has been automatically embedded.   Display as a link instead

×   Your previous content has been restored.   Clear editor

×   You cannot paste images directly. Upload or insert images from URL.

Loading...
 Share

×
×
  • Create New...