How to install Mono mysql connector on ubuntu server - mysql

I download with wget and unzip.After Go v4.5 and install with gacutil /i MySql.Data.dlland itry compile with gmcs -r:System.dll -r:System.Data.dll -r:MySql.Data.dll Sql.cs
And i get this error
error CS0006: cannot find metadata file `MySql.Data.dll'
Compilation failed: 1 error(s), 0 warnings

I solve this problem with MySql.Data package if you have problems with MySql.Data.dll you can install MySql.Data package with nuget package manager.

Related

How can I fix this yarn when using daml 1.0.1?

In the process of building the create-daml-app project using daml SDK 1.0.1, I'm running into a yarn error when I do daml codegen js .daml/dist/create-daml-app-0.1.0.dar -o daml.js. It returns
Failure: "yarn install --pure-lockfile" exited with ExitFailure 2
Usage: yarn [options]
yarn: error: no such option: --pure-lockfile
I'm not very familiar with yarn so I'm not sure how to proceed. Can someone point me in the right direction? Thanks!
yarn version: 0.32+git
This error occurs for daml SDK 1.0.0 as well.
This sounds like you probably have cmdtest installed which provides a command called yarn as well but has nothing to do with the yarn package manager. Take a look at the prerequisites at https://docs.daml.com/getting-started/index.html#prerequisites for instructions on how to remove cmdtest and a link to the installation instructions for the yarn package manager.

Cant Insatll MySQL.Data from Nuget Manager

I am trying to install MySQL.Web in my Project but it throw me error
Error:
'MySql.Data' already has a dependency defined for 'Google.Protobuf'.
I try both way to install it.
By rigth click on project -> Manage NuGet Packages
by writing Install-Package MySql.Data in Package Manager Control.
But it throw me same error at both time.
I am using Visual Studio 2012
Thanks in Advance.
Check for the Framework you are using and the Dependency list.
I tried to install it Console Application in target Framework 4.5.2 and it worked.
If you want to run in framework 4.5 then try installing package with version 6.9.12 Because the newest packages have dependencies and also they don't work in framework 4.5.2
You can check the dependencies from MySql.Data

can't install html-agility-pack when install Newtonsoft.Json

I want to know why i can't install your pakage with Newtonsoft.Json and get this error :
Severity Code Description Project File Line Suppression State
Error An error occurred while retrieving package metadata for 'Newtonsoft.Json.10.0.3' from source 'C:\Users\......\packages'. 0
I try to use from both of them in .net 4
And i try to install them from nuget package
anyway for install i can use from ignore dependence option in package manager > install and update option > dependence behavior but sometimes when app is running and i got error...
any solution ?
Delete Newtonsoft.Json.10.0.3 folder from c:\....\packages and remove it's line from packages.config then delete from project reference again install lower version.

install mysql without having internet nor cd/dvd iso on redhat

I want to install mysql server on a remote server but I haven't internet access and I haven't cd/dvd iso. Is it possible to download all mysql repository locally?
Actually if I execute
yum install mysql*
, I have this error :
http://repo.mysql.com/yum/mysql-connectors-community/el/6/x86_64/repodata/repomd.xml: [Errno 14] PYCURL ERROR 6 - "Couldn't resolve host 'repo.mysql.com'" Trying other mirror. Error: Cannot retrieve repository metadata (repomd.xml) for repository: mysql-connectors-community. Please verify its path and try again
Does anyone have a solution?
Thanks.
Download the rpm of mysql and install it
http://dev.mysql.com/doc/refman/5.7/en/linux-installation-rpm.html
Download this package ... if use redhat7 linux
mariadb-5.5.44-2.el7.x86_64
install package this command line
#rpm -ivh mariadb-5.5.44-2.el7.x86_64
i think this issue solve

MVVMCross StarterPack not installing from Nuget in fresh PCL

I've created a fresh Portable Class Library in Visual Studio 2012 (as per the instructions)
I've also tried lowering the Target Framework to .Net 4
I then proceed to run
PM> Install-Package MvvmCross.HotTuna.StarterPack
But it's throwing an error
Attempting to resolve dependency 'MvvmCross.HotTuna.MvvmCrossLibraries
(≥ 3.0.10)'. Attempting to resolve dependency
'MvvmCross.HotTuna.CrossCore (≥ 3.0.10)'. Attempting to resolve
dependency 'MvvmCross.PortableSupport (≥ 3.0.10)'. Installing
'MvvmCross.PortableSupport 3.0.10'. Successfully installed
'MvvmCross.PortableSupport 3.0.10'. Installing
'MvvmCross.HotTuna.CrossCore 3.0.10'. Successfully installed
'MvvmCross.HotTuna.CrossCore 3.0.10'. Installing
'MvvmCross.HotTuna.MvvmCrossLibraries 3.0.10'. Successfully installed
'MvvmCross.HotTuna.MvvmCrossLibraries 3.0.10'. Installing
'MvvmCross.HotTuna.StarterPack 3.0.10'. Successfully installed
'MvvmCross.HotTuna.StarterPack 3.0.10'. Adding
'MvvmCross.PortableSupport 3.0.10' to FutureStateDemo.Core.
Uninstalling 'MvvmCross.PortableSupport 3.0.10'. Successfully
uninstalled 'MvvmCross.PortableSupport 3.0.10'. Install failed.
Rolling back... Could not install package 'MvvmCross.PortableSupport
3.0.10'. You are trying to install this package into a project that targets 'portable-win+net45+sl40+wp', but the package does not contain
any assembly references or content files that are compatible with that
framework. For more information, contact the package author.
What does it take to get this starter pack up and running?
I'm pretty sure MvvmCross no longer has support for Windows Phone 7, so you can't target that in the PCL.
You have to pick the Windows Phone 7.5 target framework instead.