Trying To Import Mysql Database Via CLI In Ubuntu Linux

Dec 13, 2007

I have ubuntu 6 server version running.

I am trying to import a database I have however I cannot get it working for the last 2 hours!

I have tried various commands like logging into mysql entering the "use" command to use a database and then variations of the "source" command but my db.sql file doesn't run.

Also tried the full command

mysql -uroot -pMYPASS MYDBNAME < /var/www/site/db.sql

Neither seem to do anything.

PHPMYADMIN shows no database tables at all.

Running mySQL 5.

View 4 Replies


ADVERTISEMENT

How To Import Mysql Dump File To Database By SSH

May 19, 2009

How to import mysql dump file to database by SSH?

How to import mysql database host to other host database by SSH?

View 4 Replies View Related

Plesk 11.x / Windows :: Import MySQL - Database Failed After Upgrade

Aug 13, 2013

Since we upgraded to Plesk 11.5 or (I'm not shure) the last Update 12, user can not import MySQL-Databases anymore.

If the user open phpMyAdmin for import and select the database and click on Ok, phpMyAdmin does nothing.

I heard that could be a problem with JQUERY and I checked the files in ParallelsadminhtdocsdomainsdatabasesphpMyAdminjsjquery and all files seems to be there.

Only if I check the source of the phpMyAdmin Import-Website it seems, there is a problem with jquery-1.6.2+fix-9521.js.

But how I can fix this problem for all Windows-Servers.

View 19 Replies View Related

Plesk 11.x / Linux :: Increase Import Database Size

May 4, 2015

I have a virtual server with CentOS 6.4 (Final) and Plesk 11.5.30 and I would like to increase the database size to import because right now it's only 2MB and I have to put online a website with 10MB.

View 5 Replies View Related

Plesk 12.x / Linux :: MySQL 5.6 On Ubuntu 12.04?

Jun 7, 2015

I would like to Mysql 5.6 installed on Plesk 12. Is that possible? How does it work?

View 1 Replies View Related

Plesk 12.x / Linux :: Upgrade MySQL From 5.5 To 5.6 (Ubuntu 14.04)?

Nov 28, 2014

I see that Plesk 12 supports MySQL 5.6, but the server I am running is Ububtu 14.04 LTS and comes with 5.5.

I need to make 5.6 available but I can see no way of doing it without breaking Plesk (I already tried just installing it from command line with apt-get install and had to restore the whole server from backup!) - there is no option for MYSQL in Plesks updates & upgrades menu ...

View 14 Replies View Related

Import .sql.gz Database

Dec 13, 2008

how can import a .sql.gz database to mysql? i cant do it with following command:
mysql -p -u root uur445_db < wqee2_master_1.sql.gz

View 2 Replies View Related

Hebrew Database Import

Jul 2, 2009

My friend has a Hebrew Database and I wanted to know the best way to import it? (i have shell access).

View 4 Replies View Related

How To Import Database Through Webmin?

Jun 26, 2009

How do you import a database using webmin?

View 8 Replies View Related

Plesk 12.x / Windows :: How To Import Existing MS SQL Database Into Subscription

Apr 2, 2015

I've created a website for a client using Sitefinity CMS and MS SQL Server 2008 R2. I've transferred the database from my local SQL server to the production server using SQL Management Studio.

I've created a customer and subscription for hosting the website and it's all up and running perfectly. However, I want to automate the backup of the SQL database for the website which I can only do if the subscription knows about the SQL database for that website. So, how do I associate the two? How do I get the database to show up in plesk for that customer such that it can be part of the scheduled backups - and of course also somethign I could restore via plesk if I had too?

The database exists. It wasn't create via plesk in any way, but I want plesk to be able to back it up, and ideally for it to show up in the customers subscription, etc.

View 1 Replies View Related

Plesk 12.x / Windows :: How To Import Phpmyadmin Database Backups

Mar 17, 2015

I expored my databse fom my old hoster and want to import it to my new Windows Server 2012 r2 vps Server but I can't find that option:

I found this link: URL....

my dashboard looks like this, it is missing the Backup Manager: Image: "dashboard.png"

View 4 Replies View Related

Data Import To Mysql

Jun 17, 2008

my server is Linux with PLESK, one of our customers trying to import data to database, the data is in Unicode (Persian) and when he import that data show? in web site.

View 2 Replies View Related

How Can I Import .sql Form Mysql 4.1 To 4.0

Aug 30, 2007

i am not sure if this is the right sub-forum to post the question.

it is that i my a forum running with php and mysql,

the version of it is 4.1 now,

i wnat to move the forum to another server,

but the mysql version of the server is 4.0,

i try to backup the .sql form phpmyadmin and import form phpmyadmin,too.

but it failed,

some article tell me that i should change some setting in the .sql file,

but i try and failed,

can anyone teach me how can i process it?

View 5 Replies View Related

Edit PhpMyAdmin MySQL Max Import Size (Max: 8,192 KiB)

May 31, 2009

I currently am running on a VPS and I'm trying to edit the max size a user can upload through phpMyAdmin. I have tried editing the php.ini file located at /etc/php.ini to find it wasn't the right file.

Where do I need to go via SSH to edit the proper file?

View 6 Replies View Related

MySQL 5.1.30 On Ubuntu 8.10

Dec 8, 2008

I am trying to create a database using the following method:./mysqladmin create db
But I get the following error:./mysqladmin: connect to server at 'localhost' failed
error: 'Can't connect to local MySQL server through socket '/tmp/mysql.sock' (2)'
Check that mysqld is running and that the socket: '/tmp/mysql.sock' exists!
I am new to configuring mysql. I have installed it etc but not sure how to start it. I tried the following to start the server:moe@moe-desktop:/usr/local/mysql$ sudo bin/mysqld_safe --user=mysql

View 6 Replies View Related

Plesk 11.x / Linux :: Failed To Execute Backup Of Mysql Database

Feb 19, 2015

My OS is CentOS 5.8.
Plesk is 11.0.9.

Having problems with failed daily domain backups. All databases that have been created by Plesk cannot be backed up, thus backup fails with the following message:

<?xml version="1.0" encoding="UTF-8"?>
<execution-result status="error" log-location="/usr/local/psa/PMM/sessions/2015-02-19-044701.875/migration.result">

[Code]...

View 4 Replies View Related

Plesk 11.x / Linux :: Importing To MySQL Database - Maximum Execution Time

Nov 5, 2014

I have this error when i put import to mysql database

Code:
#1064 - 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 '<script></script><p>ERROR: Maximum execution time of 300 seconds exceeded (Util.' at line 244

I have in domain > doemainname >
max_execution_time
Standaard
Geef een aangepaste waarde op 0

and insert in
usr/local/psa/admin/htdocs/domains/databases/phpmyadmin in the file config.sample.inc.php following command
$cfg['ExecTimeLimit'] = 70000;

but it will not work...

View 2 Replies View Related

Plesk 11.x / Linux :: Autoupdate Fails ERROR While Trying To Backup MySQL Database

Jun 16, 2014

why but autoupdate fails. It doesn't give a reason why it cant backup.

For line of log :

START pp11.5.30-bootstrapper-11.5.30-cos5.build115131216.11 installing AT Thu Mar 27 07:43:37 CET 2014

Last lines of log :

===> Upgrading database

Trying to start service mysqld... mysqld (pid 24610) is running...
done
Trying to establish test connection... connected
done
Trying to find psa database... version is 011005030
Version is OK, no need to create psa database.
Trying to backup MySQL database...
ERROR while trying to backup MySQL database
Check the error reason(see log file: /tmp/plesk_11.5.30_installation.log), fix and try again

Trying to start psa...

**** Product prep-install for BASE failed.

***** problem report *****
ERROR while trying to backup MySQL database
Check the error reason(see log file: /tmp/plesk_11.5.30_installation.log), fix and try again
STOP Bootstrapper 11.5.30 prep-install for BASE AT Tue Jun 17 04:04:48 CEST 2014

View 2 Replies View Related

Plesk 11.x / Linux :: How To Do MySQL Database Daily Backup Via Scheduled Tasks

Feb 12, 2015

I'm new to Parallels Panel. I use version 11.0.9. I want to backup mysql database daily. First of all, what is the best way for daily database backup in plesk. I'm trying to do this in Scheduled Tasks and I use mysqldump command although I'm not sure.

I chose the time and day first and then I switched on the task. I typed the following command to Command line.

mysqldump -uusername -ppassword databasename | gzip -9 >/httpdocs/mydatabase.sql.gz
or
mysqldump -uusername -ppassword databasename >/httpdocs/mydatabase.sql.gz

This created only a blank file. When I use this without gzip, nothing changes.

1- Is mysqldump right command for database backup?
2- Should I define full path for mysqldump, gzip and database? If so, how can I find out the full path of mysqldump, gzip and my database? Because I can't see their locations in panel.
3- I can't see any error message. There is not any log file in httpdocs folder. Where does the log file exist?
4- It is weird but should the username be "database user" or should I write "root" ?

View 2 Replies View Related

Plesk 11.x / Linux :: CentOS Backup Commands For Website Files And MySQL Database

May 27, 2014

I need a command way of backing up my website files and Mysql databases. I no longer have access to the static ip to access the panel.

View 1 Replies View Related

Plesk 12.x / Linux :: Fail To Connect MySQL / Database / WebAdmin - File Not Found

Mar 30, 2015

I cant connect to the Database WebAdmin. If I click the icon, i got an "File not found." in the opening tab. Back in Plesk I get the following:

ERROR: PlexkFatalException
Server id is undefined?

I even cant connect via ssh to the mysql part of my server. But the server is running and both of my two wordpress pages run smoothly. I know this page: [URL] .... – but as I sad, cant enter die mysql.

It seems something is wrong with the permissions. I'm on the point where I just want to reset everything database related. But how?

View 2 Replies View Related

Plesk 12.x / Linux :: Enable To Create New MySQL Database Server - Test Connection Failed

May 7, 2015

I freshly installed Plesk 12.0 on Ubuntu 14.04. Everything works accept the MySQL database creation.

When I try to create one, i get this error :

error: the test connection to the database server has failed because of network problems: connection refused...

View 1 Replies View Related

Plesk 11.x / Linux :: Import SSL Into Chrome

Feb 3, 2015

Chrome/Chromium don't offer to "remember this password" if using https with a self signed, or no, certificate, which is pretty frustrating when your job requires regular logins to various Plesk installations!

The trick, apparently, is to import your self signed certificates into Chrome's chrome://settings/certificates list, so I'm trying to do this with Plesk's default panel certificate.

From Tools & Settings -> SSL Certificates, I've hit the 'Download the Panel's SSL Certificate' link to get the .pem file but when I import this into Chrome I'm asked to provide the password it was encrypted with. Where would I find this password? Or do I need to replace the default with my own self-signed?

View 8 Replies View Related

Plesk 11.x / Linux :: Import DNS Zone Using Axfr

Apr 2, 2014

We have too many DNS servers such as BIND, PowerDNS, NSD on different platform.I need transfer all zones to Plsek server.Is there a ready-made solution import dns zones using axfr?

View 3 Replies View Related







Copyrights 2005-15 www.BigResource.com, All rights reserved