使用Python的MySQL连接失败

时间:2019-03-07 16:59:17

标签: python mysql mysql-python

我正在使用import React, { Component } from "react"; import { BrowserRouter as Router, Switch, Route, Link, Redirect } from "react-router-dom"; import Overview from "./Profile/Overview"; import About from "./Profile/About"; import Card from "./Profile/Card"; import Navigation from "./Profile/Navigation"; class Profile extends Component { constructor(props) { super(props); this.state = { user: this.props.match.params.username }; } render() { let { user } = this.state.user; return ( <React.Fragment> <Card user={this.state.user} /> <Navigation user={this.state.user} active="overview" /> <Route path="/:username/overview" exact={true} render={props => <Overview {...props} />} /> <Route path="/:username/about" exact={true} render={props => <About {...props} />} /> </React.Fragment> ); } } export default Profile; 中的以下代码连接远程Python

MySQL server

任何想法出了什么问题,任何补救措施都将非常有帮助。谢谢,

0 个答案:

没有答案