Bazaar branch default location - mysql

I started downloading a MySQL branch using bazaar. However, I stopped the download after around 800 MB and created a shared repository in which I wish to re-download it again.
How do I remove the already downloaded 800MB file? Thanks in advance.
PS: I'm using Ubuntu 14.04 LTS, MySQL 5.5.37 and latest stable release of Bazaar.

After you interrupted the download, if you don't see a directory created then there's nothing to delete, Bazaar handled the interrupt and cleaned up after itself.
If it created something then just delete it with rm -r.

Related

Why when I start phpmyadmim this writting appears?

I start on Xammp Apache and MySQL but when I click on admin instead of opening the phpmyadmin page I see this writing:
Composer detected issues in your platform: Your Composer dependencies require the following PHP extensions to be installed: mysqli, openssl
What I have to do in order to solve this issue.
p.s. I imagine that I have to install this two files but in which folder I have to put them?
It appears to be a problem with the XAMPP version 8.0.3 and the suggested solution was to reinstall XAMPP using the version 7.3.27. Also, try clear the cache before re-installing the XAMPP
Uninstall XAMPP 8.0.3
Got to Local disk (C)
Delete file xampp
Clear cache memory on webpage
Right click Local Disk (C) > Properties > Disk Cleaup > Check all > Ok
Install xampp 7.3.27
I hope that the above can be of help to you.
I had (maybe) the same issue. I first installed 8.x and then installed 7.4, but that didn't help.
When I tried to run the php.exe it showed an error on line 736 inside the php.ini.
I guess the problem was that XAMPP was installed to a location where a folder contained a space (Program Files (x86)). Under line 736 (maybe different for you) inside the php.ini the path was not put inside apostrophes. Slap some apostrophes on there and it should work.
Error inside php.ini
In my case,
I am facing such an issue when I have changed my php.ini (.../xampp/php.ini).
There are three php.ini files as
php.ini
php.ini-production
php.ini-development
I have replaced the php.ini file to php.ini-backup and rename php.ini-production to php.ini
so I have replaced back my php.ini-backup to php.ini and the issue is gone.
#ozzy has said is right,
but forgot to mention 1 main point (multiple installs)
this appears when this version of xampp is installed multiple times (without un-installing the previous).
uninstall the xampp being shown in programs list (programs and features).
restrated pc.
then deleted all the directories of xampp (may they be on any drive).
if the data is important, rename all xampp directories.
restarted pc.
installed xampp again.
-- thats all.

raspbian stretch 1609 manual update with 1804 binary installer does not work

i tried to install 1804 parallel to the 1609 stretch package, that works, but i can't restore the old database, i get this error:
$ ./ejabberdctl restore /var/lib/ejabberd/ejabberd.backup
Can't restore backup from "/var/lib/ejabberd/ejabberd.backup" at node ejabberd#raspberrypi: Table config does not exist."
Is there a solution for this?
Thank you,
Stefan
Alternatively, you can simply copy the old spool directory to the new location. When ejabberd starts, it detects a database with old schema, and updates whatever required.

How to install a light version on mysql

I install mysql with a batch file, but the mysql install file 'mysql-installer-community-5.7.11.0.msi' is so big : 387MB.
Does a mysql light version exist ?
The computer does not have internet so the mysql-installer-web-community is not recommended for me.
Thanks.
Download MySQL as zip archive---a so-called noinstall archive---and see what you can strip off. When finished, repackage the remaining file into a much smaller zip.
Candidates for deletion include:
bin/mysqld.pdb (~160 MB): debug symbols
embedded server libraries (~1,05 GB):
lib/mysqlserver.lib
lib/libmysqld.dll
lib/libmysqld.lib
lib/plugin/debug/* (~180 MB)
this post indicates you could even remove the whole lib folder
(Note that I did not test if the installation actually succeeds without these files)
Repackaging with Ultra compression (7zip) gives me a 110 MB zip file.
On the target machine, just follow the installation instructions for noinstall archives. They go well together with a batch-based installation.

PhpStorm is not starting up

I just downloaded PhpStorm 5 on my quite fresh ubuntu.
During the first start I installed a couple of plug-ins.
Now - after the installation of those plug-ins - PhpStorm is not starting up anymore.
No splash screen is showing up. No error gets written on the terminal:
gue#ubuntu:~$ phpstorm
Java HotSpot(TM) 64-Bit Server VM (build 23.7-b01, mixed mode)
gue#ubuntu:~$
What shall I do with that drunken sailor?
I can't find any logfiles, no configuration file/directory in my home directory.
Since I'm used to Eclipse I've no clue where to look for a trace in this IntelliJ derivate...
If you're on Windows deleting the following directory helped me:
C:\Users\<user>\AppData\Roaming\JetBrains\
Some plug-ins can cause problems and prevent IDE from starting, if it happens, you should delete the directory containing plug-in manually. Location of this directory depends on the system and product, details are available in the FAQ.
For PhpStorm on Linux it would be ~/.WebIde50/config/plugins.
This happend to me too, I had created a custom vmoptions file, and entered incorrect values. I fixed it by deleting it in ~/.WebIde50/phpstorm.vmoptions
i had the same problem , i fixed it just with removing the file C:\Users\.PhpStorm2016.2
In linux, I fixed it by deleting vmoptions file of PhpStorm and then launching it again:
mv ~/.config/JetBrains/PhpStorm*/phpstorm64.vmoptions ~/.config/JetBrains/PhpStorm*/__phpstorm64.vmoptions
It might be possible if openjdk is installed then phpstorm not opened.
So remove first then follow steps that given in below link.
I solve the problem same way.
wiki.jetbrains.net/intellij/Installing_and_running_PHPStorm_on_Ubuntu
Here is how you fix this: Rename C:\Users\USERNAME.PhpStorm2016.3 to something else (anything, like PhpStorm2016.whatever) , it will start the program if you click on the phpStorm icon, then choose to import settings, and you're good to go ;)
I am using PhpStorm2020.2.1. I referred to Configuration directory. I accessed the folder %AppData%\JetBrains\PhpStorm2020.2, renamed it just in case I may need some files in future.
Voila! I can start my PhpStorm2020.2.1 again!
I had this problem yesterday and my OS is windows 10. phpStorm suddenly did not work and when I click on it nothing happened. I just downloaded JDK from this link (https://www.oracle.com/java/technologies/javase-downloads.html) and after installation, I set the environment value in the system setting for my java directory. You can use this link to set the environment (https://javatutorial.net/set-java-home-windows-10)
For me I had to remove all cache for the IDE located in:
~/.cache/JetBrains/
I have changed the VMOptions under the Help menu on MacOS and it just would not start up again. It just silently failed every time. I found the file at /Applications/PhpStorm.app/Contents/MacOS/phpstorm and ran it in the terminal, which gave me an output with the following error:
Invalid ReservedCodeCacheSize=3072M. Must be at most 2048M.
Luckily, it also gave me the path to the VMOptions file in one of the rows of the output, parseVMOptions: /Users/barnabas/Library/Application Support/JetBrains/PhpStorm2022.3/phpstorm.vmoptions in my case, so I could change it back to a valid configuration. Crisis averted.
Simple
Go to your task manager
end any task on php-storm
and restart the ide again
it will work
Open Terminal Linux Ubuntu 20.10
YOU#USER:~$ cd ~/.config
YOU#USER:~/.config$ ls
Obs: Locate the >>> JetBrains <<< folder, after that delete it your default app settings will disappear more it will open again
YOU#USER:~/.config$ sudo rm -rf JetBrains/
Open PHPSTORM

HG clone returns "abort: HTTP Error 406: Not Acceptable" on Redmine VMWare computer

I'm really new with SCM systems, so I'm starting to study Mercurial, but I'm facing a problem that I have no idea how to fix. I hope someone can point me the right direction :-) :
So, I have installed the BitNami Redmine Stack (http://bitnami.org/stack/redmine) on a Vmware computer with windows 2003 (64 Bits) as the OS. On the same VM I have installed Mercurial-2.3 (Mercurial 2.3 Inno Setup installer - x64 Windows - does not require admin rights) , and restarted. after that , created a directory (e:\helloworld) and I have initialized the directory with some basic the HG commands (HG Init, HG Add, HG Commit).
Using the host computer to confirm the correct communication with the VMWare guest computer, I have created a small project in Redmine, added a repository with Mercurial as the SCM and included the initialized directory (e:\helloworld on the server). The repository is displayed correctly in Redmine, and, working directly in the virtual computer if I do some changes and perform some commits, the changes are displayed in the Redmine repository. From my current limited knowledge, all seems to be ok when I work directly in the VM, but when I try to clone the directory using HG clone from the host computer, the server responds:
C:\helloworld>hg clone http://redminevm/redmine/projects/helloworld
abort: HTTP Error 406: Not Acceptable
I also have tried with the IP address instead of the hostname, adding the username and the password to the URL, or initializing the local folder previous to try the hg clone. all my attemps return the same result. I'm assuming something is incorrect in the server, but I have no idea what it can be.
What should review on the server (or Client), in order to allow me to clone the Mercurial repository thru http?
Thank you very much in advance!
Alex.
Ok, after investigating, and with a big help from the Redmine forum, I can answer my own question. I hope my experience can help someone. My question was because of lack of knowledge about Redmine and what it can and cannot do.
so;even if we can have repositories in a RedMine project, RedMine is not a repository server. Means I can link a repository to a project, but, if I want work on it thru http (or serve multiples repositories) , aditionally I need install a server like rhodecode, or use hg serve. :-)
Saying this, I was doing this incorrectly. After running hg serve , I was able to serve multiples repositories.
Same error if you want to clone a git repo with "hg clone". Yeah, I know, I'm an idiot, but it happens, probably this will help someone.