I started to use a remote import mode from an external ftp, it was working for a few days then doesn't matter what I do when trying to run the remote profile it runs an old file from a few days ago. I don't know where this file is. I re-create the profile with a new name and the same thing. Thank you.
You need to update your PHP version to 5.4+ as Magmi is not compatible with PHP < 5.4.
Related
Unluckily I have deleted almost all users in XAMPP MySQL database. I have a wordpress sites working there, but I can't access phpmyadmin to edit database or even make a copy of it.
This is the error code:
New XAMPP security concept:
Access to the requested object is only available from the local network.
This setting can be configured in the file "httpd-xampp.conf".
I can't use MySQL to add new user...
How can I fix that? I only know that I have to add a new root account to access phpmyadmin from local network.
And for future - Do I need to remove some users when I transfer my website from XAMPP server to web server to make it safe? Or All the root users can't be reached from third person in the web?
Thanks for Your reply,
Peter
OKAY, after solving it for 4 hours I have made something better... I used Wordpress plugin "Duplicator" and just copied my website. Then I deleted XAMPP and installed it once more. I have imported my website and now it works fine - phpmyadmin too :)
I am using xampp to host my website local. I am making a WordPress site with the MySQL database from xampp.
Now, I bought a new computer and took backup of my WordPress folder. Now when I try to open my WordPress site on my new computer, I get the error: Error establishing a database connection
I can image this is because the database that is linked to the WordPress site is not on my new system.
I formatted my old drive so I cannot restore the old database. Is there a work around?
If you have your old database file (.sql) then you can just
Run this link from your browser http://localhost/phpmyadmin.
Select Database which you want to upload the SQL file. (If no DB , create new database).
Click on Import option from top menu section and upload you files.
and for taking backup of your database on Xampp
1. Run this link from your browser http://localhost/phpmyadmin.
2. Select Database which you want to take backup of.
3. Click on Export option from top menu section and backup your files.
If your old drive is completely formatted, and you weren't using any sort of Wordpress backup plugin, then no, you won't be able to rebuild the site. Sorry! As well as storing your content (posts / articles), your Wordpress database also stores information on which plugins you were using, so it is an critical part of rebuilding any Wordpress site.
Next time around, you should export your database to a file (eg .sql), so you can import it on your new server/laptop. You would achieve this by either using a Wordpress plugin, or on XAMPP by using phpMyAdmin. You could also do this with 3rd party apps, like SequelPro or MySQLWorkbench.
You should have your images and static assets saved - eg css files, uploaded images, so you have something to start with, if you decide to rebuild your site without the database.
You need to install your wordpress site again with new database. You already lost it. Always backup your wordpress site.
You can backup your wordpress site with this plugin and it's free-
https://wordpress.org/plugins/updraftplus/
Thanks
BanyanTheme
Step 1: Backup your database on the old computer.
Step 2: Restore the database onto the new computer.
Step 3: Run file install in wordpress
Good luck!
I am importing a mysql database from the webserver to my local system for a migration from drupal 6 to drupal 8.
I did an Export with phpmyadmin on the server. Then I created the database locally also with phpmyadmin and imported my dump from the server via phpmyadmin's import function.
Then I created the user with the setting of my drupal 6 configuration.
I can see the database in phpmyadmin if I connect with my local root user.
I cannot connect with the user created from the settings ( lets call that the drupal_db_user)
If I call the drupal site on my local apache ( apache & mysql server are running or my phpmyadmin would not work) I get the messeage from drupal:
"The mysqli error was: Unknown database 'my_drupal_db'."
Via Mysqlworkbench I am also not able to conntect to the my_drupal_db with the drupal_db_user.
I use locally php 5.6 and mysql 5.6 on a ubuntu system.
Creating the user and db via mysql console also did not help.
Any clue what might be wrong here? I suspect it could be the password encryption, but I have no clue how to check / change that other than trying the two options phpmyadmin (version 4.6) is offering me.
I guess you dont need to backup on your pc as the files that you exported from server is a backup on its own. Just download the sql file update to drupal 8 and finally import the file and you should have it installed.
Or simply try importing the exported file from server to another subdomain drupal 8 as a test. To check If it really works.
Found the problem.
after at least 3 hours poking around and cursing.....
When I created the database locally I had by mistake an whitespace in front of the db name.
Which by the way was possible... I didn't know you could even create databases with whitespaces in the name.
What let me find the error was this post:
https://drupal.stackexchange.com/questions/27050/fatal-error-pdoexception-sqlstate42000-1049-unknown-database
and the hint with this query:
SELECT * FROM my_drupal_db.users
which of course failed and made me really question the database name.
Hope that helps someone else saving 3 hours!
I' am on the learning process of Drupal 7. When installing Drupal 7 I have used MySQLI database option, where it didn't ask me any information about my database. After installation was complete. I went to my Database to check if database was automatically created, it wasn't.
I wanted to know where and how does Drupal 7 uses database.
Drupal configuration files is normally located in:
sites/default/settings.php
Which gets populated during installation process (usually copied from default.settings.php). In regards to the database - you need to create one beforehand (if you start a new project). Please, refer to INSTALL.txt in the root of Drupal package. There is a step-by-step instruction that explains the process.
Hope it helps.
If it successfully installed there sure must be a database somewhere :) When you install Drupal 7 it will determine what database types you have available and require you to input at least the database TYPE, and NAME.
If this information was not asked of you during the installation process then there is only one thing that I can think of; the settings file already has some database settings in there.
So I suggest looking in the place already mentioned:
/yourdrupalfolder/sites/default/settings.php
And have a hunt for an array that contains all the database information.
Hopefully that file will let you understand what happened!
This is my first post on Stack overlow
I'm a computer Engineer, but i'm relatively New to MYSQL
also i love using CLI
Backround info :
I Initially Installed MYSQL on my computer on IIS7 Virtual Server
Then Seperately installed PHP My Admin
when i did that it installed components such as MYSQL Workbench and Connectors and so on
i like the installed components but didn't use them frequently,
i only found myself using the Console and the Workbench
Now. the workbench has been replaced by PHP MyAdmin
at that time my database had only a few entries
after more research i learnt about WAMP, LAMP etc..
I'm now using the WAMP Stack
MY QUESTION IS THIS..
Other than the obvious fact that WAMP Uses Apache and i was using IIS7
is there any real difference between installing WAMP as a package
or installing all the components seperately
i would think not, but, what i did notice before i installed WAMP, was that i was always having to alter directory locations to enable new features
i find in WAMP that i'm doing that so much
In Giving me an answer
i would like it to be considered that ..
- I'm pretty much doing standard Data entry
- Running Queries
- i would like to have the ability to Backup the data file locations without any issues
- i would like to have the ability to Import and Export a table to another table if i see fit
eg.
if i created a table in a database called (for example) stock_my
and then i populated that with about 100 entries for example
and then i decided to rename the table my_stock
i would like to be able to export the data from stock_my to a .sql file
and then to be able to Import the data to the new table
Lastly , i would like Upgrading to newer versions of MySql or PHP My Admin to be relatively painless
THAT'S IT
SORRY ABOUT THE LONG POST
Any Comments are appreciated ahead of time
and i'd like to say , it's a pleasure to NOW be part of the community
sincerely
Martin Kuliza
The only difference is that Wamp installs those products already configured to work together and tuned up for a development environment, which means putting minimal footprint on your computer resources so you can work normally in the same machine you have the servers installed.
Installing them separately would only mean you would have to configure all that yourself, but essentually you would be installing the same things.