I have two device on my network LB (192.168.1.10) and RP1 (192.168.0.20) I am wanting all the MySQL stuff to be hosted on the LB and all the web stuff to be hosted on the RP1. I have installed mysql-server-5.5 on both devices. But when I perform the command: $con=mysqli_connect(&quot;192.168.1.10&quot;,&quot;foo&quot;,&quot;password&quot;,&quot;max&quot;);  On the web page I get the error:  Warning: mysqli_connect(): (HY000/2003): Can't connect to MySQL server on '192.168.1.10' (111) in /var/www/example.info/public_html/submit.php on line 6  And obviously when I try localhost (replacement for &quot;192.168.1.10&quot; in the snippet above) I get the error:  Warning: mysqli_connect(): (28000/1045): Access denied for user 'max'@'localhost' (using password: YES) in /var/www/example.info/public_html/submit.php on line 6   I have also tried: $mysql --host=192.168.1.10  On the RP1 and I get the error:  ERROR 2003 (HY000): Can't connect to MySQL server on '192.168.1.10' (111)   What am I doing wrong?
I have an Ubuntu server and I've installed MySQL.  How would I use my two physical static IP addresses in my.cnf bind-address -- can I add two IP addresses?
what is the difference between kind, type and sort Solvability of Poisson's equation for $p$-forms directly from Hodge decomposition If $M$ is a closed manifold, it's well known that $\Delta\phi=\alpha$, where $\alpha$ is a $p$-form, has a solution if and only if $\alpha$ is orthogonal to the space of harmonic $p$-forms. This is proved on page 224 of Warner, but the proof depends heavily on his approach to Hodge theory. There are other methods that avoid his main technical lemma 6.6. So, can one prove this fact using only the "standard" facts of the theory?  For functions it is easy, for one has $$\alpha=\delta \psi+h.$$ But $(\alpha,h)=0$, so $\alpha=\delta\psi$. Then decompose $\psi$ to get $\alpha=\delta d\zeta$ for some function $\zeta$. But on functions, $\Delta=\delta d$. But for $p$-forms in general one has $$\alpha=d\xi+\delta \psi+h,$$ since $\Omega^{p-1}$ is nontrivial. Using the decompositions again, one has $$\alpha=d\delta \rho+\delta d\sigma,$$ where $\rho,\sigma$ are $p$-forms. I don't see how $\rho$ and $\sigma$ are related, but it looks close. Let $a_n=\sqrt[n]n-1$. Does $\sum_{n=1}^\infty a_n$ converge? Can a textbox be enabled after a certain value from a picklist is selected Is there a rule to know when to pronounce letter c as a "soft c" (s) or "hard c" (k)? I have two tables A &amp; B. Table A id | name | num  Table B id | date | roll  id in table B is a foreign key which relates to the id in table A. I want to get the contents of table B where id is given and also along with that data, I need the name whose id is given from table A. NOTE: cannot use multiple queries separated by commas; need to do both the SELECTs in one query. Let $$ f(x) =    \begin{cases}\begin{align}     1\quad&amp;\text{ if }\; 0\leq x \leq 1 \\     2 \quad&amp;\text{ if }\; 1&lt;x \leq 2 \\   \end{align}\end{cases}$$  Then $\int^2_0 f(x)dx=3$ and an anti derivative of f(x) is $$F(x)=\begin{cases}\begin{align}     x\quad&amp;\text{ if }\; 0\leq x \leq 1 \\     2x \quad&amp;\text{ if }\; 1&lt;x \leq 2 \\   \end{align}\end{cases}$$ But, $F(2)-F(0)=4-0=4 \neq 3.$ Why has this happened?  Find an anti-derivative $G(x)$ of $f(x)$ such that $G(2)-G(0)=3$, the correct answer.  My attempt: $F(2)-F(0)=4 \neq 3$ because we need to break it up into two parts like this: $\int^2_1 2x dx + \int^1_0 x dx = x^2|^2_0 + \frac{1}{2} x^2|^1_0 =4-1+\frac{1}{2}-0=3.5$ but this is not right either. :(  For the "Find an anti-derivative $G(x)$..."I'm completely lost but perhaps if we solve the first part then I'll understand what it's asking for there.  Any help would be appreciated. PS1='$(pwd)' why this works and why is this different from PS1=$(pwd) Why when I enter this command the prompt changes to my directory?  PS1='$(pwd)'   I am using single quotes, which means no interpolation , a.k.a echo '$(pwd)' ——→ $(pwd)  Furthermore, say that we clarified why this works... why is it functioning differently from PS1=$(pwd) ? (no quotes at all)  By different I mean that if I use the quotes then the prompt will keep changing to my current directory as I navigate through the terminal. But if I don't use quotes, then the prompt will always remain the directory that I was in when I first entered the command PS1=$(pwd)  why? AWS dynamodb support for "R" programming language I am already dual booting windows 10 with Linux Mint, and I am trying to replace Mint with Ubuntu. I have already created a bootable usb for Ubuntu.  When I try to install Ubuntu, I don't see any option to install Ubuntu alongside windows 10. Rather, I see "install Ubuntu alongside Linux Mint". I didn't find any option to keep my windows 10. How can I replace Mint with Ubuntu in this dual boot system? Mint is installed on an ext4 partition and I have a Linux swap partition. Show that $S + T$ and $aT$ are linear Let  $S:  V \to W$ and $T: V \to W$ be linear transformations. Given $a$ in $\mathbb{R}$, define functions $(S+T): V \to W$ and $(aT): V \to W$ by $(S+T)(v)=S(v) + T(v)$ and $(aT)(v)= aT(v)$ for all $v$ in $V$. Show that $S+T$ and $aT$ are linear transformations. Is there a destructor for Java? Is there a destructor for Java? I don't seem to be able to find any documentation on this. If there isn't, how can I achieve the same effect?  To make my question more specific, I am writing an application that deals with data and the specification say that there should be a 'reset' button that brings the application back to its original just launched state. However, all data have to be 'live' unless the application is closed or reset button is pressed.  Being usually a C/C++ programmer, I thought this would be trivial to implement. (And hence I planned to implement it last.) I structured my program such that all the 'reset-able' objects would be in the same class so that I can just destroy all 'live' objects when a reset button is pressed.  I was thinking if all I did was just to dereference the data and wait for the garbage collector to collect them, wouldn't there be a memory leak if my user repeatedly entered data and pressed the reset button? I was also thinking since Java is quite mature as a language, there should be a way to prevent this from happening or gracefully tackle this. What ultimates can be damage boosted by Mercy? What ultimates can be damage boosted by Mercy?  We already know that , but are there other ultimates that can be damage boosted by Mercy? Can all ultimates be damage boosted by Mercy? How accessible are the Stack Exchange sites for users of screen reader software? There are some plans to put more information on  which is a Stack Exchange site. I am concerned it may not be as readable to everyone as it could be on a plain wiki.  Is there any information on how to use Stack Exchange with a screen reader? ON an American street, but IN a British one. Do the twain ever meet? In the United States, we say that someone lives on a street, whereas I've noticed that British people say in. For instance:     Bubba lives on Washington Street.   Colin lives in Cavendish Avenue.   I believe we both would use at when a number is given. For instance:     Bubba lives at 16 Washington Street.   Colin lives at 7 Cavendish Avenue.   I don't think it matters if it's a road, avenue, street, circle, or lane — as far as I know, in America, we always live on a street. Does it vary in British English, or is it always in? If it varies, what are the rules? How exactly does Knuth's Up-Arrow notation work? Is there any direct relation among first, third, fourth order moments? Is the set of partial order relations over $ \mathbb{N}$ countable? I think it's uncountable but don't know how to prove this. I would be very helpful if someone could also give some kind of a strategy for proving uncountability, in particular how to find injective or surjective functions that help proving this. Visual Flow: How to set Date field to Null / Blank? What is the "Wanna Cry" ransomware's possible impact on Linux users? It's just come to light that there's a $300 ransom you have to pay because ransomware targeting Microsoft Windows has encrypted your data. What steps do Linux users need to protect from this if for example they are using wine?  This ransomware is widely reported to be based on a tool developed by the NSA to hack into computers. The NSA tool was used by a hacker group called the Shadow Brokers. The code can be found in .  Microsoft released a patch (MS17-010) against this vulnerability on March 14, 2017. The mass infection is reported to have begun spreading on April 14th. This is discussed .  As I haven't booted Windows 8.1 in 6 to 8 weeks, can I apply this patch from Ubuntu without booting Windows first? (After research it may be possible ClamAV could report the vulnerability from the Linux side looking into Windows partition but it's unlikely it could apply the patch. The best method would be to reboot into Windows and apply patch MS17-010.)  Individuals and small companies who subscribe to Microsoft Automatic Updates are uninfected. Larger organizations who delay apply patches as they are tested against organization intranets are more likely to be infected.  On May 13, 2017, Microsoft took the extraordinary step of releasing a patch for Windows XP which has been unsupported for 3 years.  No word if wine is doing anything about a security update. It was reported in a comment below that Linux can be infected too when users run .  An  registered a domain name that acted as a kill-switch to the ransomware. I presume the non-existent domain was used by the hackers on their private intranet so they didn't infect themselves.  Next time they will be smarter so don't rely on this current kill-switch. Installing the Microsoft patch, which prevents exploiting a vulnerability in the SMBv1 protocol, is the best method.  On May 14, 2017 Red Hat Linux said they are not affected by "Wanna Cry" ransomware. This might mislead Ubuntu users along with Red Hat, CentOS, ArchLinux and Fedora users. Red Hat supports wine which answers below confirm can be effected. In essence Ubuntu and other Linux distro users googling this issue might be mislead by the Red Hat Linux Support answer .  May 15, 2017 Update. Over the last 48 hours Microsoft released patches called KB4012598 for  to protect against "Wanna Cry" ransomware. These Windows versions are no longer on automatic updates. Although I applied security update MS17-010 on my Windows 8.1 platform yesterday, my old Vista Laptop still needs patch KB4012598 downloaded and manually applied.       Moderator note: This question is not off topic - it asks about whether or not any Linux users need to do any steps for protecting against the risk.      It is perfectly on topic here, because it's relevant to Linux (which Ubuntu is), and it's also relevant for Ubuntu users running Wine or similar compatibility layers, or even VMs on their Ubuntu Linux machines.